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
mohammedz
A Score Level 2
over 8 years ago
Hi Shaoyongw,
Create a expression rule with two rule inputs of type (AnyType) and pass your A CDT and B CDT
Define in fn!type that to which CDT you want to update.. Follow the code like below it will do what actually you want to do in a Expression Rule
'type!{urn:xxxx:xxxxxx}<CDT_NAME>'(
name:ri!ACDT.name,
age:ri!BCDT.age,
address:ri!ACDT.address,
workStream:ri!BCDT.workStream
)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
mohammedz
A Score Level 2
over 8 years ago
Hi Shaoyongw,
Create a expression rule with two rule inputs of type (AnyType) and pass your A CDT and B CDT
Define in fn!type that to which CDT you want to update.. Follow the code like below it will do what actually you want to do in a Expression Rule
'type!{urn:xxxx:xxxxxx}<CDT_NAME>'(
name:ri!ACDT.name,
age:ri!BCDT.age,
address:ri!ACDT.address,
workStream:ri!BCDT.workStream
)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data