500 error using getdatasubsetdownloadlinkfromrule

#getdatasubsetdownloadlinkfromrule .. I am trying to export my task report to excel using getdatasubsetdownloadlinkfromrule plugin function and I am constantly getting the 500 error. I have used this plugin earlier in other tempo reports and it is working fine over there. Only difference here is my source is a getPortalReportDataSubset rather than a queryEntity due to which I am getting the result in PortalReportDataSubset format. So I am looping through this result, converting it into a CDT structure, then doing a todatasubset() and finally passing the resultant object into the plugin function. I have printed and checked the resultant data in UI. Everything is coming fine. Even the rule when tested individually (by hard coding values in JSON string) gives the correct result (PFA). But when called from parent rule I am getting this issue.

I compared my other code and everything looks ok. If anyone has done export to excel o...

OriginalPostID-226331

OriginalPostID-226331

  Discussion posts and replies are publicly visible