SBM Orchestration Guide → Orchestration Procedures → Using Data Mapping → Creating Arrays of Working Data
On the Data Mapping tab of the orchestration workflow Property Editor, you can create an array of working data to use in orchestrations. To do this, you first create an array container data element, then the array, and then the array elements.
Procedure Summary
Right-click the array, and then select Properties Mode, if it is not already selected.
In the following exercise, you will create an array container data element (ArrayContainer) that contains one array (Array) with three array elements (Array[1], Array[2], and Array[3]).
To create an array of working data elements:
The WorkingData step input should be visible under the name of the orchestration workflow (DataMappingOrchWF) in the Working data column. (If it is not, click a blank area in the orchestration workflow editor.)
A new data element (ComplexType), which is the array container, is added under the WorkingData step input.
A new child element is added under ArrayContainer.
The properties area opens on the right side of the orchestration workflow Property Editor.
A left and right square bracket are added to the array name (Array[]) to indicate that the data element is an array.
The number of array elements is displayed in parentheses to the right of Array[]. The number begins at 0 (zero) and increases by one each time you add an array element.
A new array element (Array[1]) is added under Array[].
Array elements Array[2] and Array[3] are added to Array[] under Array[1], and (3 elements) is added to the right of Array[].
Copyright © 2007–2018 Serena Software, Inc., a Micro Focus company. All rights reserved.