I'm using the Download DataSubset (on-premise) plugin in order to export dat

I'm using the Download DataSubset (on-premise) plugin in order to export data to excel. I am using the JSON strings to pass multiple input parameters to the export rule. I am passing 2 DateTime paramters and a Text parameter. My input parameter is a type Text and I use the todatetime function to convert the 2 DateTime parameters from string to date within the export rule. I continue to get a 500 error. Any help would be appreciated.

Here is the call to the export rule:
local!ruleURI3: getdatasubsetdownloadlinkfromrule(rule: rule!ruleURI3, input: a!toJson({receivedDateTimeStart: local!receivedDateTimeStart, receivedDateTimeEnd: local!receivedDateTimeEnd, filter: local!PMNameFilter})),

Here is the export rule:
=with(
local!search: a!fromJson(ri!input),
'type!{urn:appian:plugin:datasubsetdownload:types}ExportableDataSubset'(
filename: "CA Event by Estimated Processing Date Exported Data",
fieldNames: {
"caEventId",
...

OriginalPostID-141800

OriginalPostID-141800

  Discussion posts and replies are publicly visible

Parents
  • Hello ,I am trying to to export the data to excel, froma process form, But I am getting server 500 error, and below is the error screen in log file:ERROR com.appiancorp.ps.plugins.downloaddatasubsetfromrule.ExportDataSubsetToExcelServlet - com.appiancorp.plugins.typetransformer.AppianList cannot be cast to com.appiancorp.plugins.typetransformer.AppianObjectjava.lang.ClassCastException: com.appiancorp.plugins.typetransformer.AppianList cannot be cast to com.appiancorp.plugins.typetransformer.AppianObjectI have attachd two sail code, let me know what am I missing.Here in sail code we can see that URL is being generated but it is not working.

    downloadDatasubset.txt

    GetListofusers.txt

Reply
  • Hello ,I am trying to to export the data to excel, froma process form, But I am getting server 500 error, and below is the error screen in log file:ERROR com.appiancorp.ps.plugins.downloaddatasubsetfromrule.ExportDataSubsetToExcelServlet - com.appiancorp.plugins.typetransformer.AppianList cannot be cast to com.appiancorp.plugins.typetransformer.AppianObjectjava.lang.ClassCastException: com.appiancorp.plugins.typetransformer.AppianList cannot be cast to com.appiancorp.plugins.typetransformer.AppianObjectI have attachd two sail code, let me know what am I missing.Here in sail code we can see that URL is being generated but it is not working.

    downloadDatasubset.txt

    GetListofusers.txt

Children
No Data