Use a Loop from the Complex Activities tool palette to iterate through each element of a collection and perform the necessary logical operations in a loop. Place all looping activities in the Loop activity.
To define the iteration through the data and the exit condition from the loop, see Creating a User-Defined Loop.
To use a cycling technique for the loop, see Creating a Loop Using Connectors.
To iterate through a list of items in a document, see Creating a For Each Loop.
Note: The Break activity enables breaking out of the loop before completion of all processing.