This topic applies only to the IBM Business Process Manager Advanced configuration.

Example: Iteratively move data from an input array to an output array

Iterate over an input array, and for each iteration, move input data into output array type in the XML map editor.

Use the For Each transform to move each element of an input array into an output array. The input and output arrays may be of the same type or of different types.

For Each transform in the XML map editor

Iteration is performed over the input array. The nested map defines the type of transformations that will be performed for each iteration. Edit the nested map by clicking the edit icon on the For each transform

Edit icon

Transforms in the nested map define what will be performed on each iteration of the input array.

Nested transform of For each

Right-click the map canvas, and select Test Map to see the output of the map based on the input specified.

Input and output xml in the test map view