Copying some values of a repeating element when the input and output structures are different

In the Graphical Data Mapping editor, use the For Each transform to iterate over an input repeating element. Then, to determine the value of the output elements, define transforms in the nested map associated with a For Each transform.

About this task

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

Iteration is performed over the input array.

The nested map associated to a For Each transform defines the type of transformations that will be performed for each iteration.

Procedure

Complete the following steps to copy some elements of an input array to an output array when the input and the output repeating elements have different types:

  1. Define a For Each transform between the input and the output repeating structures.

    For Each transform in the Graphical Data Mapping editor.

  2. Optional: Specify the indexes of the input repeating structure over which to iterate.
    1. Click the For Each transform
    2. Switch to the Properties view.
    3. In the Cardinality properties page, enter a value in the Input array indices field.

      You can configure the Input array indexes section to select specific instances of the input array. For more information, see Selecting the indexes of input array elements.

  3. Edit the nested map by clicking the For each transform.
  4. Define the transformations required to set the value of the output elements.

    For more information, see Transforms (Mapping operations).