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
2816 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
How to replace a new value into CDT field? For Instance, following is the d
Vinod Bongoni
Certified Lead Developer
over 9 years ago
How to replace a new value into CDT field?
For Instance, following is the data for "rndTest2" CDT variable,
[id=1, rndTest2=[id=3, rndTest1=[id=56]]]
I need to change the value for "id"(which is inside of "rndTest1") to 100 with in the rules(no script task should be used).And, the CDT type is dynamic. Now this is "rndTest2" type and after it might be the same CDT or other CDT.
Please suggest me any possible ways.
OriginalPostID-168129
OriginalPostID-168129
Discussion posts and replies are publicly visible
Parents
0
siddharthg837
over 9 years ago
Hi Vinod,
One of the solution to your requirement is to create a virtual CDT type variable inside your expression using type!CDTType operator and then using the updatearray function, you can update the necessary fields of that CDT , and then use it across the board wherever required.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
siddharthg837
over 9 years ago
Hi Vinod,
One of the solution to your requirement is to create a virtual CDT type variable inside your expression using type!CDTType operator and then using the updatearray function, you can update the necessary fields of that CDT , and then use it across the board wherever required.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data