Example state table

Table 1. Example state table .

This table describes the example state table Simple_Sample in the prompt directory Simple_Prompts. For each state label in the state table, the corresponding state table action is listed together with a description of any parameters, possible results, and for each possible result, the next state.

State Table Name: Simple_Sample

Prompt Directory: Simple_Prompts

Description: Account balances and interest rates

State Label

Action

Parameter Description

Possible Results

Next State

Start

AnswerCall 1

None

Succeeded

Not ringing

Welcome

Exit

Welcome

PlayPrompt

Prompt name (plays segment 1)

Succeeded

Line Problem

Nothing Played

Caller Hung Up

Options

Exit

Thanks

Exit

Options

PlayPrompt

Prompt name (plays segment 2)

Succeeded

Line Problem

Nothing Played

Caller Hung Up

Retrieve

Exit

Thanks

Exit

Retrieve

GetKey

Caller’s input (variable)

Valid input

Invalid input

No input

Caller hung up

Check

Options

Options

Exit

Thanks

PlayPrompt

Prompt name (plays segment 15)

Succeeded

Line Problem

Nothing Played

Caller Hung Up

Exit

Exit

HangUp

Exit

Error

PlayPrompt

Prompt name (plays segment 16)

Succeeded

Line Problem

Nothing Played

Caller Hung Up

Options

Exit

HangUp

Exit

HangUp

TerminateCall

 

Succeed

Exit

Exit

CloseEverything

     
  1. The AnswerCall statement is required only for using the Debug option in the state table window. The call has already been answered by the Incoming_Call state table: see How does Blueworx Voice Response answer an incoming call?.