Forever

Use a forever control to repeat a step in a loop until it meets the required conditions.

Context

Follow these steps to set up a Forever control in your automation.

Procedure

  1. In your automation, on the right-hand side panel, go to the Controls section.
  2. Drag and drop Forever in your automation.
  3. Select Forever in your automation. The Forever side panel appears.

    The Forever control has the loop parameter index which is the index of the current loop iteration. It is an integer that starts at 0.

  4. Set a condition expression. For more information, see Condition.

    Once the condition you set is met, the loop end control allows the automation to exit the forever control, and continue on the automation canvas.

  5. Optional: Add an output parameter to the forever control.
    1. Enter an output name.

    2. Set a value for the output parameter.

  6. Save your automation.