The Split For Each shape provides a form of searching or enumeration over the pages in a property. Use a Split For Each shape to iterate over the pages of a Page List
or Page Group
property. For each page, you can conditionally start a flow execution for the work item.
Double-click the Split for Each shape.
Complete the fields in the property panel as described in the following table.
The Page group interaction settings section appears only when you select Iterate in the Join field. Complete the fields to select the subscript order, indicate whether the subscript requires an exact match, and to specify whether to start a subprocess for subscript values not yet selected.
Field |
Description |
Subscript Order |
Optional. Enter the literal text of (or an initial portion of) a subscript value that may be present in the At runtime, a subprocess is started, one at a time, for each match of the first row. Then a subprocess is started for each match of the second row, and so on. (This requires repeated scanning of the pages in the group to access subscript values.) |
Exact Match |
If the Subscript Order field is not blank, click the check box to require an exact match. For example, the value M does not exactly match any state code. |
Process remaining pages |
If the Page Group Iterations array is not blank, select to indicate that a subprocess is to be started for any subscript value not yet selected (subject to the Abort Iterations when? result.) For example, if the subscript values correspond to state codes and the array contains the single character M (without exact matching), select this box to create subprocesses for each of the remaining 42 states (in an unspecified order) after creating subprocesses for the eight states that match M. |
Click Submit to close the property panel.
Click Save.
Processing in the original flow pauses while the subprocesses execute. Processing in the original flow can resume after all the subprocesses complete, after some complete, or after the any one of them completes. You can also specify conditions in which the original flow does not send the work item through the second flow.For an example, see the standard flow Work-.StandardApprovalsAll or similar "approvals" flows.
At run time, the standard function rule AddFlow() is called for each page in the Page List
property, and limits this to a maximum of 500 new flows. This limit is imposed to detect and trap possible infinite loops. If required by your applications, you can increase or decrease this limit.