This topic applies only to the IBM Business Automation Workflow Advanced
configuration.

Example: Move selected elements of input array to output array of the same type

To move selected elements of the input array to an output array of the same type in the XML map editor, select a Move transform between the elements, and then select the required elements in the Cardinality properties page.
In this example, we want to select the second, third, and fourth element. First, map the array elements using a Move transform. The following image shows how this looks in the map editor:
Input and output business objects in the XML map editor.
To select elements 2 through 4 by setting the cardinality, follow these steps:
  1. Click the Move transform.
  2. Switch to the properties view.
  3. In the Cardinality properties page, enter 2:4 in the Input array indices field.
    Tip: The first index element has a cardinality of 1.
Right-click the map canvas, and select Test Map to see the output of the map based on the input specified, as shown in the following image. Note that silverStar_client[0] is the first index element, of cardinality 1 :
Input and output XML in the test map