Getting started 3-19

The reset-action template is designed to return the session to the “acct” application’s menu screen where it awaits the next transaction. Figure 3-12 shows the reset-action template, and its accompanying screen templates.

Figure 3-12

Reset-action template for accounting application

Action Template

#reset-action template for the getbalance #action template, filename: clr_cust.act

clr_cust

accounting — —

clrcust

#exits customer info screen

atacctmenu #validates application menu screen

Screen Template

#screen template to clear customer info #screen, filename: clrcust.scn

clrcust

1,1

Account Number:

0,0

4

0,0

>

ENTER

#screen template that validates the acctng #menu screen, filename: atacctmenu.scn atacctmenu 1,20 ACME Accounting

Notice that the atacctmenu screen used in the reset-action template is the same screen used in the initial-action template. This screen template verifies that the menu screen has returned, but it performs no function.

Figure 3-13 shows the logout-action template, and its accompanying screen templates, that return the host computer to the login screen if an error occurs and the reset-action template also experiences an error.

Meridian IVR VT100 Gateway Development Guide Product release 2.0/I

Page 58
Image 58
Nortel Networks VT100 manual Reset-action template for accounting application, Action Template