The First Create Conditional Prompt Step

Continue to build the aa.aef script by dragging the first of three Create Conditional Prompt steps from the Prompt palette to the Design pane, and dropping it over the Get Contact Info step.

Configure the first Create Conditional Prompt step to play back one of two prompts, according to whether or not ASR is enabled for this call.

Figure shows the configured customizer window for the first Create Conditional Prompt step.

Configured Create Conditional Prompt Customizer Window
Configure the first Create Conditional Prompt step as follows:
  • Condition Expression—asr

    The Boolean variable for which the Create Conditional Prompt step evaluates the Boolean expression of the variable (as defined by you when defining variables).

  • True Prompt—SP[AA\AAMainMenu_ASR]

    The script plays back this .wav file if the condition evaluates to true; that is, if ASR is enabled for this call.

  • False Prompt—SP[AA\AAMainMenu]

    The script plays back this .wav file if the condition evaluates to false; that is, if ASR is not enabled for this call.

  • Output Prompt—menuPrompt

    The variable that stores the prompt value resulting from this Create Conditional Prompt step.