For Loop

Perform something a certain amount of times, as per your choice.

When to use?

The For loop is used when you know how many times you should repeat an action. Maybe you want a countdown? This is the way to do it.

How to use:

  1. In the Count field, enter the number of times you want to iterate the loop.
  2. In the Status variable field, enter the name under which you'll be able to access information on the current loop iteration. For example: status
  3. In the Loop Until field, enter the expression which will be true to exit the loop.
  4. You can place any number of other element components inside the Elements container.

Status variable fields

Fields for property Status variable
Field Description
index Current programmatic index of the element
natural Human-readable position in collection (starting at 1)
first Boolean, whether the element is first in collection
last Boolean, same as first, only checks if it is last