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
1748 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
thoward
over 10 years ago
Not sure I understand. Are you saying there is a better was to populate a dimensional CDT field with the data other than an apply() function? If so, could you point me in that direction. I'm always in favor of doing things the easy way when possible. This is my first time working with CDT and I'm still learning.
Thanks,
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
thoward
over 10 years ago
Not sure I understand. Are you saying there is a better was to populate a dimensional CDT field with the data other than an apply() function? If so, could you point me in that direction. I'm always in favor of doing things the easy way when possible. This is my first time working with CDT and I'm still learning.
Thanks,
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data