For Each

Use the For Each action to run a set of child actions. The For Each action iterates through each item in a dictionary or collection variable, running its child actions during each iteration. When all items in the collection are processed, the workflow proceeds to the next action in the workflow. If you are looking for a particular item, you can optionally stop the action when that item is found.

To master the use of the Logic and flow actions, complete the Nintex for Office 365 - Complex Logic in Nintex University.

Before you start 

Add and configure the For Each action

In the Designer:

  1. Click the Logic and Flow action group in the action toolbox.
  2. or

    Type the action name or function in the Search field at the top of the action toolbox.

  1. Drag the For Each action to the designer canvas.
  2. Open the Action Configuration window. For steps on how to open the Action configuration window, see Action configuration window.
  3. For Input dictionary or collection, select the dictionary or collection variable to process.
  4. In Output value, specify a variable to store the value of the variable item accessed from the dictionary or collection variable.

  5. Click Save.

For more information on the fields and buttons see, For Each fields, buttons and settings