Linking to and from Array Variables in the Pipeline
When you link to or from an array variable (String List, String Table, Document List, or Object List), you can specify which element in the array you want to link to or from. After you link the variables, you specify the index that represents the position of the element in the array.
For String Lists and Object Lists, you can specify the index for the list element you want to link. For example, you can link the third element in a String List to a String.
For String Tables, you can specify the row and column indexes for the cells you want to link. For example, you can link the value of the element in the third column of the second row of a String Table to a String.
For Document Lists, you can specify the index for the Document that you want to link. For example, you can link the second Document in a Document List to a Document variable.
For a variable in a Document List, you can specify the index of the Document that contains the value that you want to link to or from. For example, if the Document List
POItems contains the String
ItemNumber, you can link the
ItemNumber value from the second
POItems Document to a String variable.
For example, suppose that a buyer’s address information is initially stored in a String List. However, the information might be easier to work with if it were stored in a Document. To map the information in the String List to a Document, create a link between the String List and each field in the Document. Then, specify an index value for each link. In the following pipeline, the elements in buyerAddress String List are mapped to the address Document.
You can specify an index value when linking to or from an array variable
Note:Designer uses blue links in the Pipeline view to indicate that properties (conditions or index values for arrays) have been applied to the link between variables.