Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

  • The Loop action allows a workflow to repeat a set of operations multiple times, until a specific condition is met.

...

  • This action is key for automating repetitive tasks or processing multiple items in a collection.

...

Loop Config Field

Description

Source Type

It allows the user to select the source of records on which the loop will be performed.

Note: By default, the Source Type is Model. Other options include Variable, Nested Field and Iteration Count.

Info

Reference: Source Type

Model

When you select Model as the Source Type, the Model field allows you to specify the exact model (such as a Salesforce Object) where the loop action will be applied. This ensures precise targeting for your loop action, allowing you to control where and how the loop is applied within your application.

Workflow

It allows to use available workflows in layout to run in loop.

Looping Variable Source Type

It determines the source type for the variable that will be used as the looping variable.

Note:

  • If Iteration Count is chosen as the Source Type earlier, the label for this field will be Variable for Index, for rest, Looping Variable Source Type will be the label.

  • This dropdown includes options like Variable, Model and Nested Field.

  • Variable:

  • Model:

  • Nested Field:

    Looping Variable / Looping Model

    It allows the user to define the looping variable or model for the loop action.

    Note: If you have chosen Nested Field as Looping Variable Source Type, this field will not be visible.

    Models

    It enables to add looping model which can be used later.

    Info

    Reference: Add Model

    ...