Initialize Loop activity

An activity that repeats an action for a process data variable with a Boolean data type until the value of the variable is set to true. When the value of the variable is true, the loop completes, and the process moves forward.


Initialize Loop activity

Configure the Initialize Loop activity

To configure the Initialize Loop activity, do the procedure in this topic.

Examples

Prerequisites

Good to Know

How to Start

  1. Open Process Builder.

    For information about how to open this screen, refer to Process Builder.


    Open Process Builder
  2. In Process Builder, in the Activity Library, open the Utilities tab.

    Open Utilities tab
  3. On the Utilities tab, drag the Initialize Loop activity onto your process.

    Drag Initialize Loop activity

Procedure

  1. Complete the fields on the General Configuration screen.
  2. Click Looping Init Looping Init icon.
  3. Complete the fields on the Loop Configuration screen.
  4. (Optional) Click Advanced Advanced icon > Email Notifications E-mail Notifications icon.

    For more information, refer to Email Notifications screen (Process Activities).

General Configuration

Specifies the basic settings for the Initialize Loop activity.

Figure: General Configuration screen

General Configuration screen

Fields

Field NameDefinition

Display Name

Description:
Specifies the activity name that shows in your process.
Allowed Values:
One line of text (a string).

Accepted:

  • Letters
  • Numbers
  • Spaces
Default Value:
None
Accepts Variables:
No
Example:
This is a common configuration field that is used in many examples. Refer to:
  • Examples - Step-by-step use case examples, information about what types of examples are provided in the AgilePoint NX Product Documentation, and other resources where you can find more examples.

Description

Description:
Specifies an optional text description for your activity.
Allowed Values:
More than one line of text.
Default Value:
None
Accepts Variables:
No

Loop Configuration

Configures the details for your loop.

Figure: Loop Configuration screen

Loop Configuration screen

Fields

Field NameDefinition

Source Dataset

Description:
Specifies the repeating schema element from the Process Data > Form Data or Model Data tab that stores the list of child elements.
Allowed Values:
A valid repeating XML schema element.
Default Value:
None
Accepts Variables:
Yes

Current Row Variable

Description:
Specifies a process data variable that stores the values of a column in a data source.
Allowed Values:
A process data variable.
Default Value:
None
Accepts Variables:
Yes

Dataset Column Name

Description:
Shows the list of child elements from a repeating schema element.
Allowed Values:
A valid child element name.
Default Value:
None.

If you specify the repeating schema element in the Source Dataset field, the name of the child element shows.

Accepts Variables:
Yes

Exit loop when following variable set to true

Description:
Specifies a process data variable with a Boolean data type to exit the loop. When the variable is set to true, the loop completes, and the process moves forward.
Allowed Values:
A process data variable.
Default Value:
None
Accepts Variables:
Yes

Add Add icon

Function:
Creates a row.

Delete Delete icon

Function:
Deletes the row.