Adding a many-to-one mapping

Before you start:
Define your source and target by following the instructions in any of the following topics:

This topic describes how to add a many-to-one output mapping.

  1. In the Source view, use Ctrl+click to highlight all the source message elements that you want to map, then drag them onto the Target view, dropping them onto the target element that you want to use. The mapping appears in the Overview view showing the Source, Target, and Target Value, and also in the Outline view.
  2. Define how the assignment is to be made by clicking the Target Value for the assignment, then clicking the box that appears at the end of the row. The Compose Expression editor appears and you can qualify your assignment.
  3. Click OK to return to the Overview view.
  4. To assign other source values to target values, repeat steps 1 to 3.
An alternative method for adding a many-to-one mapping is:
  1. Select the mapping sources and target values that you want to map.
  2. Right-click the selected values and click Create Mapping.

Now define how the multiple elements are dealt with when they are placed into the single target element. For example, the source elements might need to be concatenated or have a mathematical function carried out on them.

In the Compose Expression editor, you can add mapping expressions for sources and targets that have not yet been defined, but you cannot change mapping targets.

Related concepts
Mappings
Mapping types
Message mapping
Many-to-one mapping
Related tasks
Adding a one-to-one mapping
Adding a one-sided mapping
Adding a many-to-many mapping
Adding a case mapping
Adding a repeating mapping
Related reference
Mappings