ivr IVR Tutorial Table of Content << Previous  >> Next

2.3 Use Variable

The condition of the transition from Get Password element to Password Incorrect element is "...". We need to update the condition to check password attempts. If the number of password attempts is less than 3, the condition is true; otherwise, the condition is false.

Update Transition Condition

The transition condition is defined on the element a transition is transitioned to. In this example, the condition is defined on the Password Incorrect element. To change the condition, right click on the Password Incorrect element, select Properties.

Select the radio button labeled "if the condition is met" and enter password_count < 3 as the condition expression.

The Call Flow Diagram

The updated call flow diagram is shown below. As we can see, if the password entered is "123", the system actives the Password Correct element; else if the password attempts is less than 3, the Password Incorrect element is activated.

 

ivr IVR Studio Table of Content << Previous >> Next