I'm trying to check the length of a nested CDT inside of a process model. Ho

I'm trying to check the length of a nested CDT inside of a process model. However it's giving me this error when trying to check the length of the child CDT or when I try to see if it has a value.

Has anyone seen this before? I realize nested CDT's are not good but this is a huge old application. Changing the CDT structure is not an option. It's currently set up with a three CDT structure. There is the singular parent level CDT, a multiple CDT nested under that, and a multiple nested CDT under that.

In this case it's the SR -> Collaterals -> Collateral Events.

ERROR:An error occurred while evaluating expression: Events_Cdt:if(rule!APN_isEmpty(pv!theCollaterals_Cdts.events_Cdts) = true(), {}, pv!theCollaterals_Cdts.events_Cdts) (Expression evaluation error in rule 'apn_isempty' at function fn!isnull parameter 1: Cannot index "events_Cdts" because it is an array type (List of ArgCollateralEvent). Only fields with scalar types can be indexed from ...

OriginalPostID-207432

OriginalPostID-207432

  Discussion posts and replies are publicly visible