FOR

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

Supported Script Types

Generic Email Chat Phone Voicemail Work Item

Properties

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 the FromValue plus the Step.

Branches

OnFinished
When the current Repeat count exceeds the specified number, this branch condition will be triggered.
OnRepeat
This branch condition will be used while the current repeat count is less than or equal to the specified Repeat value.

Tips and Tricks

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