Do a Loop to Repeat an Action

To configure the loop to start the action, do the procedure in this topic.

Loop Configuration Screen (Initialize Loop)



General Configuration Screen (Next Loop)



Prerequisites

  • To operate, the Initialize Loop activity must have a Looping Next activity immediately after it in your process flow.

    For more information, refer to Next Loop activity

Good to Know

How to Start

  1. On the Organizer, do one of these:
  2. Do one of these:
    • Add an activity:
      1. In the Process Builder, in the Activity Library, open the Utilities tab.
      2. On the Utilities tab, drag the Initialize Loop activity onto your process.
    • Change an activity:
      1. In your process, double-click your activity.
  3. Click Looping Init .

Procedure

  1. Complete the fields on the General Configuration screen.

    For more information, refer to Configure General Options for a System Activity.

  2. Click Looping Init .
  3. On the Loop Configuration screen, complete these fields as necessary.
    Field Name Value

    Source Dataset

    Function:
    Specifies a repeating element in a schema where all the data sets are stored.
    Accepted Values:
    A valid repeating XML node.
    Default Value:
    None
    Accepts Process Data Variables:
    Yes

    Current Row Variable

    Function:
    Specifies a single node element within the given repeating element.
    Accepted Values:
    A valid single node element.
    Default Value:
    None
    Accepts Process Data Variables:
    Yes

    Dataset Column Name

    Function:
    Specifies the name of the dataset column.
    Accepted Values:
    A valid dataset column name.
    Default Value:
    None
    Accepts Process Data Variables:
    Yes

    Exit loop when following variable set to true

    Function:
    Specifies a process data variable to exit the loop. When the variable is set to true, the loop completes, and the process moves forward.
    Accepted Values:
    A process data variable.
    Default Value:
    None
    Accepts Process Data Variables:
    Yes
  4. To complete the configuration, click OK.
  5. On the Utilities tab, drag a Next Loop activity onto your process immediately after your Initialize Loop activity.
  6. On the General Configuration screen for the Next Loop activity, in the Loop Initiate Activity Name field, select the name of your Initialize Loop activity.