To map a repeating source element to a non-repeating target element, drag elements between the Message Mapping editor Source and Target panes.
The first occurrence of the source field is mapped to the target field. The "for"’ row specifies that a loop is to be iterated for the specified repeating element. The if and "condition" rows restrict the logic to a single occurrence of the repeating element. See Configuring conditional mappings for more information on conditional logic in a mapping node.