This activity iterates a counter by one for each work item version that it receives.
In the process flow above, the Iterator Activity initially receives all work items from the first activity, by way of an Or Join Activity. The Iterator Activity creates a counter key and gives it a value of 1. The work item version is then passed to a DPA, which reads the counter’s value and, if the counter value has reached the level defined in the DPA rule, sends the work item to the final activity in the flow. If the target value has not yet been met, the work item is sent back to the Or Join Activity, creating a loop. The work item passes through the Iterator Activity again, which iterates the counter value by one. This repeats either until the target counter value is reached, or the work item is purged.
To use an Iterator Activity:
Designate at least one activity as a starting point for the flow.
Place the Iterator Activity at a point after the starting point activity.
Place a DPA at a point after the Iterator Activity.
Place at least one Ending Point Activity in the flow.
Draw Transitions between all activities.