I am using the Download datasubset plugin for generating download link of Excel

I am using the Download datasubset plugin for generating download link of Excel file from a Tempo Report.
I have created the rule which returns an ExportableDataSubset.

I get the error: Expression evaluation error at function 'getdatasubsetdownloadlinkfromrule' [line 20]: Error evaluating function 'getdatasubsetdownloadlinkfromrule' : 0.

I have ensured that the rule which returns Exportable Data Subset returns it correctly. Also went through the sample Application which demonstrates its usage. But I am not able to figure out the issue. For reference, I have attached the SAIL code in a text file to this post.

If anyone has used this plugin before, please check my code and let me know if I am doing it incorrectly. Please note that ri!input is of type Number(Integer). I have set it to Numeric Type as per the Sample Application given for the plugin

Issue_DownloadDataSubsetPlugin.txt

OriginalPostID-170148

OriginalPostID-170148

  Discussion posts and replies are publicly visible

Parents Reply
  • Hi All,

    I am getting the same error but my rule name does not start with a number.

    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.
Children
No Data