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
  • ...oth types of instances and I see no issues with the data.

    I have reviewed the jboss1-stdOut.log and the only description offered is: "ERROR com.appiancorp.rest.shared.AppianExceptionMapper - Internal Server Error on REST API invocation.23:18:15,457 INFO [stdout] (ajp-/0.0.0.0:8009-13) com.appiancorp.process.expression.ExpressionRuntimeException$AppianExceptionProvider: Expression evaluation error in rule 'ctr_transactiondetailsentryreviewandsubmit' at function 'reduce' [line 35]: (APNX-1-4198-000)".

    Any assistance would be greatly appreciated!
Reply
  • ...oth types of instances and I see no issues with the data.

    I have reviewed the jboss1-stdOut.log and the only description offered is: "ERROR com.appiancorp.rest.shared.AppianExceptionMapper - Internal Server Error on REST API invocation.23:18:15,457 INFO [stdout] (ajp-/0.0.0.0:8009-13) com.appiancorp.process.expression.ExpressionRuntimeException$AppianExceptionProvider: Expression evaluation error in rule 'ctr_transactiondetailsentryreviewandsubmit' at function 'reduce' [line 35]: (APNX-1-4198-000)".

    Any assistance would be greatly appreciated!
Children
No Data