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
2 replies
Subscribers
8 subscribers
Views
6052 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
I'm using "updatecdt" to update a value in the CDT as follows,
Vinod Bongoni
Certified Lead Developer
over 9 years ago
I'm using "updatecdt" to update a value in the CDT as follows,
updatecdt(ac!test,{rndTest2:{rndTest1:{id:333}}})
In this, I need to construct dictionary for second parameter dynamically. I have only field names like {"rndTest2","rndTest1","id"} and value is 333. So I managed it to construct with text type. I tried to pass as a text type then it is throwing an error like "Invalid dictionary". So How can we cast text to dictionary type or any other possible way to pass 2nd parameter. Please suggest me.
Thanks.
OriginalPostID-169098
OriginalPostID-169098
Discussion posts and replies are publicly visible
Parents
0
Mike Schmitt
Certified Lead Developer
over 9 years ago
I'm not sure without a little more context first, but updateCdt might require you to first initialize the variable you're updating with a CDT (dictionary) value with at least the structure in place.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Mike Schmitt
Certified Lead Developer
over 9 years ago
I'm not sure without a little more context first, but updateCdt might require you to first initialize the variable you're updating with a CDT (dictionary) value with at least the structure in place.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data