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
11 replies
Subscribers
7 subscribers
Views
4988 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
I want to update an A cdt with another B cdt which is subset of A cdt. Is there
shaoyongw
over 8 years ago
I want to update an A cdt with another B cdt which is subset of A cdt. Is there any existing function or an easy way to achieve this goal?
OriginalPostID-218216
OriginalPostID-218216
Discussion posts and replies are publicly visible
Parents
0
kumaraveln
over 8 years ago
You can also use updatecdt function to update specific fields. Say if you have 10 field in your cdt and you want to update only one field (which is also a cdt as in your case), then try something like
updatecdt(
ri!parentCDT,
{
childCDT: rule!returnModifiedChildValues(ri!parentCDT.childCDT)
}
)
Here rest of the 9 field values will be preserved.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
kumaraveln
over 8 years ago
You can also use updatecdt function to update specific fields. Say if you have 10 field in your cdt and you want to update only one field (which is also a cdt as in your case), then try something like
updatecdt(
ri!parentCDT,
{
childCDT: rule!returnModifiedChildValues(ri!parentCDT.childCDT)
}
)
Here rest of the 9 field values will be preserved.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data