There is a requirement where i have to insert nested CDT(one to many) data into table and then read in another process model.
Parent CDT : policyDetails
policynumber
customerId
actiontype
nomineeDetails
Child CDT= nomineeDetails
{
title: "Mr", forename: "abc", surname: "Test One", dateOfBirth: "01/01/2000", percentage: 80, relationship: "Brother", addressLine1: "Hall Road"
}
title: "Mr",forename: "xyz",surname: "Test two",dateOfBirth: "01/01/2006",percentage: 50,relationship: "sister",addressLine1: "aaaaa",
My Approach :
Do you guys feel that there should be better approach?
Discussion posts and replies are publicly visible
That depends a bit on the type of relationship. Reference vs. Parent-Child.
And I don't think you need MNI. You can just write multiple items in one go.
Thanks for quick reply. We have a Parent-Child relationship which is One to Many(One policy holder can have multiple nominee details)
Please have a look at this page:
https://docs.appian.com/suite/help/23.1/CDT_Relationships.html#cascade
Depending on the cascade type you can just write the data through the parent.