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.

Properties

Option

Description

Counter

Enter the user integer variable containing the initial value (typically 0) to increment each time the action cell runs.

Exit Value

Enter the 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 Points

Option

Description

Less than Exit Value

This is taken when the incrementing value is less than the exit value.

Greater Than or Equal to Exit Value

This is taken when the incrementing value has reached or exceeded the exit value.

Error

This is taken if an internal error occurred.