Adding a repeat-to-repeat throughput mapping

A repeat-to-repeat throughput mapping is a type of repeat mapping that maps all instances of one repeating field in the input message to all instances of another repeating field in the target message. Repeat-to-repeat throughput mapping is an 'any-to-any' mapping that maps an [All] node on the source side to an [All] node on the target side. This type of mapping is useful if you need to change individual source values without disrupting the order. For example, you might want to add tax or apply a discount to each price in a source message. Other types of repeat mapping are:
  • Aggregate (many-to-one) mapping, where all repeats are aggregated into a single target field.
  • Looped assignment (one-to-many) mapping, where one source field is mapped to many repeats in the target field.
The following steps show you how to create a repeat-to-repeat throughput mapping.
  1. Create a single mapping from an [All] node on the source side to an [All] node on the target side using the drag-and-drop method. (Alternatively, select the source and target nodes to be mapped, right-click the target node and click Create Loop Mapping.)
  2. In the Message Flow Mapping editor Overview, click the Target Value that you want to edit and then click the box that appears next to this value. The Compose Mapping Expression editor appears, showing the loop.
  3. Use the editor to provide the required information about the mapping. For example, specify a value to be added to the source values.
  4. Click Create Loop Mapping to close the Compose Mapping Expression editor.
  5. Save the mapping resource.
Related concepts
Repeating mappings
Aggregate mapping and unknown numbers of instances
Related tasks
Adding instances in repeating structures
Removing instances in repeating structures
Adding a repeating mapping
Adding an aggregate mapping
Adding a looped assignment mapping
Adding a one-sided looped assignment mapping
Related reference
Mappings