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
1749 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 10 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
jesse.triplett
Appian Employee
over 10 years ago
I'm not sure you need the apply at all, since append can take a multiple input itself.
Is this supposed to be in the SAIL form? I ask because you have pv!Order.item written in that rule.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
jesse.triplett
Appian Employee
over 10 years ago
I'm not sure you need the apply at all, since append can take a multiple input itself.
Is this supposed to be in the SAIL form? I ask because you have pv!Order.item written in that rule.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data