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
4985 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
Anyone know a way to update a CDT column dynamically using a custom rule or func
dsmithgxp
Certified Associate Developer
over 9 years ago
Anyone know a way to update a CDT column dynamically using a custom rule or function? I realize I can create a script task to loop through the CDT and set the column value. I just wanted a more dynamic way to doing it.
CDTa - can be multiple values.
CDT columns - column1, column2, column3
I want to loop through the CDT and set column2 to a specific numeric value
I reviewed the apply function and the custom plugins - IFM Manager, Set CDT Properties and CDT Manipulation - just wondering the most efficient option.
OriginalPostID-150052
OriginalPostID-150052
Discussion posts and replies are publicly visible
Parents
0
Josh
Certified Lead Developer
over 9 years ago
you can create a rule that takes in your CDT and the value you want to set and has a definition similar to =type!yourCDT(column1: ri!cdt.column1, column2: ri!valueToSet, column3: ri!cdt.column3). Then just apply over this rule with your list of cdts and values you want to set.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Josh
Certified Lead Developer
over 9 years ago
you can create a rule that takes in your CDT and the value you want to set and has a definition similar to =type!yourCDT(column1: ri!cdt.column1, column2: ri!valueToSet, column3: ri!cdt.column3). Then just apply over this rule with your list of cdts and values you want to set.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data