Hi All,
I have two CDTs A and B. B is nested to A. I am creating the data for cdt A using expression rule, for each record in A there may be multiple record of B. Can someone please help me how can I create using expression rules which will further then inserted to database.
Discussion posts and replies are publicly visible
type!A( field: "value", nested: { type!B( field: "value" ), type!B( field: "value" ), } )
Thanks Stefan, But it is not known how many records will be in nested CDT B.
Then use a!foreach() to create as many items as you need.
Thanks Stefan, It worked.