If I have a cdt eg myCDT with child elements a b c d What is the best way i

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