Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
9 replies
Subscribers
5 subscribers
Views
2433 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
I am using fn!getdatasubsetdownloadlinkfromrule to export excel file.
shaoyongw
over 8 years ago
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
0
Eduardo Fuentes
Appian Employee
over 8 years ago
It might be a bug in the plug-in. I suggest you keep using your workaround.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Eduardo Fuentes
Appian Employee
over 8 years ago
It might be a bug in the plug-in. I suggest you keep using your workaround.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data