Appian 7.8: I am using getdatasubsetdownloadlinkfromprocess() from Download Data

Appian 7.8: I am using getdatasubsetdownloadlinkfromprocess() from Download DataSubset (Cloud) Plugin to export data to excel sheet. I am sending 2 lists as inputs to the target process model using the syntax: a!toJson({abc: ri!XXX.abc,xyz: ri!XXX.xyz})
I am using the following code on a script task in the target process model:

with(
local!pagingInfo1: a!pagingInfo(startIndex: 1, batchSize: -1),
local!search: a!fromJson(pv!input),
local!newData: apply(
                                                  rule!PPR_XXX,
                                                  merge(
                                                  local!search.abc,
                                                  local!search.xyz
                                                  )),
local!DataSubset: todatasubset(
local!newData,
local!pagingInfo1
),
'type!{urn:appian:plugin:datasubsetdownload:types}ExportableDataSubset'(
filename: "Exported Data",
fieldNames: {
                    "abc",
"xyz"
},
fieldLabels: {
                    "ABC",
"XYZ"
},
datasubset: local!DataSubset          )
)
The definition of rule!PPR_XXX is:
with(
local!newData: type!TEST(
fundName: ri!fundNa...

OriginalPostID-146924

OriginalPostID-146924

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data