Iterator Activities count the number of times a loop in a flow is completed, increasing the iteration count by one each time. Typically, this activity is used with a DPA, which routes the work item to the appropriate activity in the process flow based on the count. Use the DPA immediately after the Iterator Activity. A DPA allows multiple Transitions out and can send a work item back into a previous activity in the flow or to the next destination.
For example, after each time the Iterator Activity increases the iteration number for a work item, it sends the work item to the DPA. If the work item has completed enough iterations, then the DPA then sends the work item to the next destination. If the work item has not completed enough iterations, then the DPA returns the work item to a previous activity in the flow.