We making a RESTcall to display the data on a Appian form. The response from the

We making a RESTcall to display the data on a Appian form. The response from the REST is a collection of data in XML format. After the REST call in the process model we are trying to convert the XML into a array process variable. Currently we are doing this using script task which executes multiple times (count of the collection) with the below expression

xpathsnippet(ri!xmlMessageToParse, "string((//data)["& ri!index &"]/"& ri!tagName &")"))

But this is consuming lot of time as the node has to execute multiple times. Is there any other faster way to convert the collection of data in XML format to process variable array?


...

OriginalPostID-126997

OriginalPostID-126997

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data