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
4 replies
Subscribers
9 subscribers
Views
1800 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
If I have a cdt eg myCDT with child elements a b c d What is the best way i
joel671
over 10 years ago
If I have a cdt eg myCDT with child elements a b c d
What is the best way in a rule to update several of the child elements?
I know I can do type!myCDT(
a: ri!input.a,
b: ri!input.b,
c: ri!input.c,
d: ri!input.d
)
This requires maintaining the definition when the cdt changes. Is there any other ways of doing this? I really want to do it within a rule and will need to do it over an array using apply so the more efficient it is the better.
OriginalPostID-143827
OriginalPostID-143827
Discussion posts and replies are publicly visible
Parents
0
joel671
over 10 years ago
Yeah I have done a single rule which maintains a single type constructor. It isn't that my CDT is going to change regularly, it is just a matter of ensuring someone updates the definitions any time the CDT is changed.
I was just hoping there was a better way than relying on someone doing the right thing later down the line rather that them just being able to update the xsd in a single place.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
joel671
over 10 years ago
Yeah I have done a single rule which maintains a single type constructor. It isn't that my CDT is going to change regularly, it is just a matter of ensuring someone updates the definitions any time the CDT is changed.
I was just hoping there was a better way than relying on someone doing the right thing later down the line rather that them just being able to update the xsd in a single place.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data