Application Integration (On-Premises) : Service Development : Mapping Data in Flow Services : Mapping Using ForEach : Creating a ForEach Mapping
Creating a ForEach Mapping
Consider the following when you build a ForEach mapping:
*You can only map an input array to an output array of the same data type.
*ForEach mapping iterates over an input array and executes the defined mappings.
*You can perform all the mapping tasks, transformations, and create nested array mapping in a ForEach mapping.
*You can map a single input array to multiple output arrays and multiple input arrays to a single output array.
To build a ForEach mapping
1. In the flow service editor, select the MAP step.
2. Open the Pipeline view.
3. In Pipeline In, click the pipeline array variable you want to use as the source variable and in Pipeline Out, click the pipeline array variable you want to use as the target variable.
4. Click .
The ForEach mapping is established between the source and target arrays.
5. On the ForEach mapping, click .
The Pipeline view of selected ForEach mapping appears.
6. In the Pipeline view of the ForEach mapping, add the required mapping tasks, transformations, or nested mappings.
7. Use to go to the parent Pipeline view of the ForEach mapping, in case of nested ForEach mapping.
8. Use to close the Pipeline view of the ForEach mapping.
9. Click File > Save .
Copyright © 2015- 2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback