The following illustration, Annotated Dialog Flow Diagram, shows a Dialog Flow Diagram with exit state values for each dialog flow from the MENU procedure.
The following sample code, Procedure Action Diagram for MENU Procedure, shows the Procedure Action Diagram for the MENU procedure.
CASE OF COMMAND
CASE 1 EXIT STATE IS take_order_requested CASE 2 EXIT STATE IS cancel_order_requested CASE 3 EXIT STATE IS maintain_customer_requested OTHERWISE EXIT STATE IS invalid_requested
The exit state value and exit state message for each exit state definition are required by the MENU procedure.
The exit state definitions used in the MENU Procedure are shown in the following table.
Exit State Value |
Exit State Message |
Exit State Termination Action |
---|---|---|
TAKE ORDER REQUESTED |
|
Normal |
CANCEL ORDER REQUESTED |
|
Normal |
MAINTAIN CUSTOMER REQUESTED |
|
Normal |
INVALID REQUEST |
You have made an invalid request. Please make another selection |
Normal |
The following list shows the possible values of Exit State at the conclusion of the execution of the MENU procedure:
You have made an invalid request. Please make another selection.
An online procedure will redisplay the menu display along with the error message.
A batch procedure will halt.
Copyright © 2013 CA.
All rights reserved.
|
|