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
4 replies
Subscribers
8 subscribers
Views
4968 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
Hi, I want to update array of nested CDT structure. I am trying
jayashrib223
over 9 years ago
Hi,
I want to update array of nested CDT structure.
I am trying to use function updatecdt() for this from shared component “CDT Manipulation”
Following is example:
with(
local!original: { {a:1,b:{1,2}} , {a:2,b:2} },
local!updatedb1:{4},
local!updatedb2:{7},
updatecdt(local!original, { b:{local!updatedb1,local!updatedb2} })
)
OUTPUT -> [a:1,b:4]; [a:2,b:7]
However if we give:
local!updatedb2:{7,8}, Then it’s giving error as: “Error evaluating function 'updatecdt' : Length of input arrays must equal length of CDT/Dictionary array”
How to achive this?
Any help will be appreciated.
Thanks!
OriginalPostID-192528
OriginalPostID-192528
Discussion posts and replies are publicly visible
Parents
0
jayashrib223
over 9 years ago
Thanks Nick! Will do.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
jayashrib223
over 9 years ago
Thanks Nick! Will do.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data