Mapping an Array to a Non-Array Structure
To map an array to a non-array structure, you must use selectors in the expression.
If the single element comes from an array (array parent) then you must manually add the array index to use. For example, $flow.body.records[<<index>>].Name where you must replace <<index>> with the array index whose element you want to map. In the example below, Customer is a single element that is being mapped to Name which is an element within the records array. Since you are mapping a single element with an element from within an object residing in an array of objects, you will need to specify the element (by its index number) within the records array whose Name you want to map to. Suppose you want to map to the Name in the second element of record you replace <<index>> with 2 in $flow.body.records[<<index>>].Name.
