Hi, To export report data to excel am using getdatasubsetdownloadlinkfromru

Hi,
To export report data to excel am using getdatasubsetdownloadlinkfromrule function. There are four filters in the report and for two filters the export to excel is giving correct data but for date filters either it is giving Error 500 - Internal server error when I remove trim(local!endDate) this condition in the filter section or data exported is not based on the selected date criteria.
Also i have printed the date values in the excel, local variables are having the date values selected.
PFA attached code for reference, any suggestions in the code to export the data based on the selected date filters.

Thanks,
Madhu

files.zip

OriginalPostID-176966

OriginalPostID-176966

  Discussion posts and replies are publicly visible