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
1 reply
Subscribers
8 subscribers
Views
864 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
We making a RESTcall to display the data on a Appian form. The response from the
kirant
over 9 years ago
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
0
Eduardo Fuentes
Appian Employee
over 9 years ago
Depending on your design you could use looping functions to do it without multiple node instances (e.g. apply() function)
forum.appian.com/.../Looping_Functions.html
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel