The First If Step
Continue the Yes output branch of the Implicit Confirmation step by dragging an If step from the General palette to the Design pane, and dropping it over the Label step icon under the Implicit Confirmation step icon, as shown in figure Name To User—Yes Output Branch of Implicit Confirmation Step.
Then configure the first If step to direct the script based on whether or not the desired extension exists, by evaluating the expression “extnXfer != null”; or, “the value of the extnXfer variable (which stores the extension number) is not null.”
The If step has two output branches, True and False. (See figure, Name To User—Yes Output Branch of Implicit Confirmation Step.)
-
The False Output Branch
-
The True Output Branch
The False Output Branch— If the If step finds no extension exists for the selected user, the script executes the False output branch. Configure the Set step underneath the False output branch to set the value of a prompt that will be played back to inform the caller that the extension was invalid.
The True Output Branch— If the If step evaluates the desired extension as valid, the script executes the True output branch.
- The Call Redirect Step