The Key 1 Output Branch

If the caller decides to accept the recording, the script executes the Key 1 output branch.

Configure the Key 1 output branch of the Menu step to store the new recorded name of the caller in the system, and then to move the script to the closing steps.

Figure shows the scripting under the Key 1 output branch of the Menu step.

Menu Step—Key 1 Branch

Use the Set User Info step to associate the value of the variable recording (as created by the Recording step) with the Spoken Name attribute of the user variable.

Figure shows the configured Set User Info customizer window.

Configured Set User Info Customizer Window

The Set User Info step has the following two output branches (see Figure 7-25):

  • Success—If the Set User Step succeeds, a Create Container Prompt step creates a prompt finalPrompt, which plays the system prompt SP[SNU\store_success.wav], informing the caller that the recording has been successfully stored.

    A Goto step then sends the script to the Label named Bye, which executes the closing steps of the script.

  • Unsuccessful—If the Set User Step fails, a Create Container Prompt step creates a prompt finalPrompt, which plays two system prompts SP[SNU\error_general.wav] + SP[SNU\error_try_later], which inform the caller that an error has occurred and ask the caller to call back later.

    A Goto step then sends the script to the Label named Bye, which executes the closing steps of the script.