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
4985 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
@sidhantb: Yes., its not OOTB but we are still using it in 16.1 without any issue. I did not understand the use case here completely so just thought of sharing an option to easily update CDTs. When we use updatecdt() we don't need to do any type casting and no need to mention all the fields as we do for updatearray() or normal variable to variable mapping.
It will be useful when we update very few fields among a large CDT.
And rule!returnModifiedChildValues here is just to do any data manipulation they want to do with the child cdt values. Like updating a lastModifiedDate field inside the child.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
kumaraveln
over 8 years ago
@sidhantb: Yes., its not OOTB but we are still using it in 16.1 without any issue. I did not understand the use case here completely so just thought of sharing an option to easily update CDTs. When we use updatecdt() we don't need to do any type casting and no need to mention all the fields as we do for updatearray() or normal variable to variable mapping.
It will be useful when we update very few fields among a large CDT.
And rule!returnModifiedChildValues here is just to do any data manipulation they want to do with the child cdt values. Like updating a lastModifiedDate field inside the child.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data