Loop To
Increments a value stored in a variable by 1 and then branches according to the new value. |
This is useful for repeating certain actions a specified number of times. For example, you might allow callers to enter a valid DTMF digit three times, and then route them elsewhere on the third incorrect entry.
Enter the variable to store in the loop counter
Enter the local integer variable containing the initial value (typically 0) to increment each time the action cell runs.
Enter a value at which the loop should end
Enter the value (the 'loop end' value) that must be reached by the incrementing value for execution to take the Greater than or equal to exit point. This can be a literal value or another variable.
Exit point |
Taken |
Less than |
When the incrementing value is less than the loop end value. |
Greater than or equal |
When the incrementing value has reached or exceeded the loop end value. |