How can I display an array of sections for each value of a multiple value CDT on a form?

Hello, I am attempting to display an array of sections for each value of a multiple value CDT on a form using the following SAIL expression:

reduce(
fn!append,
{},
a!applyComponents(
function: rule!CTR_transactionDetailsEntryCustomerSummarySections(customerDetails:_, removeCustomerDetails: local!removeCustomerDetails, modifyCustomerDetails: ri!modifyCustomerDetails, AMLBoolean: ri!AMLBoolean, formOutcome: ri!formOutcome),
array: local!allCustomerDetails
)
)

In cases where the user starts with a null CDT array and adds multiple values to the array, the sections appear as desired. In instances where the user starts with existing values in the CDT array, the form throws the following error: "Error Evaluating UI Expression
Expression evaluation error in rule 'ctr_transactiondetailsentryreviewandsubmit' at function 'reduce' [line 35]:". I have reviewed the values in the CDT PV and b...

OriginalPostID-189067

OriginalPostID-189067

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data