I am using fn!getdatasubsetdownloadlinkfromrule to export excel file.

I am using fn!getdatasubsetdownloadlinkfromrule to export excel file.

local!exportReportLink: fn!getdatasubsetdownloadlinkfromrule(
rule: rule!test_exportReport
)

I encounter an class cast exception.

ERROR com.appiancorp.ps.plugins.downloaddatasubsetfromrule.ExportDataSubsetToExcelServlet -
13:37:04,663 INFO [stdout] (http-/0.0.0.0:8080-2) java.lang.ClassCastException

But I tested the rule!test_exportReport and it can return the datasubset.

[fieldNames=ID; Name; Type; Program; region; EndDateTime, fieldLabels=ID; Name; Fund Type; Program; Region; Complete Date, datasubset=[startIndex=1, batchSize=-1, sort=, totalCount=1, data=[ID:298839,Type:separate account,region:US,EndDateTime:7/1/2014 4:14 PM EDT,Name:Client #1002,Program:Client #1002 Account], identifiers=1], filename= CLient Report]

Note: in rule!test_exportReport, I use dictionary to recreate the datasubset.

todatasubset(
apply(
rule!constructDictionary,
local!datas...

OriginalPostID-161766

OriginalPostID-161766

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data