Error evaluating function fn!getdatasubsetdownloadlinkfromrule

Hi All,

I am getting error:Expression evaluation error at function fn!getdatasubsetdownloadlinkfromrule [line 30]: Error evaluating function fn!getdatasubsetdownloadlinkfromrule : 0

I am using the function to export data to excel:

fn!getdatasubsetdownloadlinkfromrule(rule: rule!GetExportableDataSubset, input: toString(local!choice)))

The rule!GetExportableDataSubset has 1 parameter called input of type text and it returns ExportableDataSubset.

Thanks in advance.

  Discussion posts and replies are publicly visible

Parents Reply Children
  • 0
    Certified Lead Developer
    in reply to aswinb608
    Sure, the error is:
    Expression evaluation error in rule 'cords_uireportfarmreport' (called by rule 'farm_uireportfarmreport') at function 'getdatasubsetdownloadlinkfromrule' [line 124]: 0

    The call to the rule is:

    getdatasubsetdownloadlinkfromrule(
    rule: rule!CORDS_getFarmReportViewForDataExport,
    input: local!exportFilters
    )
    where rule!CORDS_getFARMReportViewForDataExport returns an ExportableDataSubset and local!exportFilters is a Json object containing the filters for the report.

    Unfortunately, I couldn't find anything in the logs. The error message was reported by a single user, other users and I were not able to reproduce the error. The export link works as expected for everyone else.