For

A more complex loop that enables you to specify the increment and the number of times the loop occurs.

Supported Script Types

Properties

Property Details
FromValue The initial value.
ToValue The value in which the loop will end and follow the OnFinished branch.
Step The increment that will be added to the initial value.
CounterName Name of a variable to receive the current value of FromValue plus Step.

Branches

Branch Details

OnFinished

Path taken when the Repeat count exceeds the specified number.

OnRepeat

Path taken while the current Repeat count is less than or equal to the specified number.

Tips & Tricks

  • The loop will go down automatically if ToValue is less than FromValue.