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
5 replies
Subscribers
7 subscribers
Views
2035 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Stuck and looking for suggestions... I'm attempting to append a s
thoward
over 11 years ago
Stuck and looking for suggestions...
I'm attempting to append a string of text, received via a web service, into a multi denominational field within a CDT. And then to display that information into a Grid on a SAIL form.
I'm trying to use the code below but does not work. According to the 'apply' function, the second parameter needs to be a list and doesn't work as an array. Does anyone know how to get data from either a delimited string or array into a 'List'?
CDT = Order
Field = Order.item
Field = Order.qty
WSItem = "Pen, Pincle"
WSqyt = "5,10"
apply(rule!writeToCDT, split(WSitem, ",") <== didn't work
apply(rule!writeToCDT, WSitem ) <== also didn't work
------
rule!writeToCDT:
append(pv!Order.item, passedInItem)...
OriginalPostID-106584
OriginalPostID-106584
Discussion posts and replies are publicly visible
Parents
0
Ricardo Galvan
Appian Employee
over 11 years ago
As the documentation states, the merge function can take a number of lists (a list being an any-type array) and merge it into a single list. If you do not know the number of components, you can have only one ri! which is the list of the components that will be needed to merge and apply the function using that list.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Ricardo Galvan
Appian Employee
over 11 years ago
As the documentation states, the merge function can take a number of lists (a list being an any-type array) and merge it into a single list. If you do not know the number of components, you can have only one ri! which is the list of the components that will be needed to merge and apply the function using that list.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data