Using a Goto Module to Simplify Changes

As you know, the Goto Module, located on the Module Tab within the Objects Panel, is a Module that has a Goto as its Terminal Action. You can use the Goto Module as a kind of place holder to save yourself some time if you know you will be adding sections in the future.

For instance, let's say that in your Speech Application you wanted every Response to end with a Goto to a Module you haven't created yet. Instead of waiting until you create the Module, and then going back and setting all the Responses individually, you could create a Goto Module and set all the Responses to go there. Then, once you have created the new module, all you need to do is set the Goto in the Goto Module, and all the Responses will automatically be updated.

Here is an example:

First, you would drag a Goto Module into the Call Flow View .

Create three additional lsit Modules in teh Call Flow View, that correspond with the grammar of the Main Menu Module. These modules should be named "Locations". "Payments", "Prices".

Add Gotos to all the Responses in the Main Menu. Set up these responses to go to the appropriate Modules.

You will see the Relation line between the Main Menu Module and each of the List Modules.

Now, set the Gotos in the Responses of the Locations, Payments and Prices Modules to go to the Goto Module.

Create a new Module by dragging one onto the Call Flow View.

Double click on the Goto Module to open it and expand the Main. Click on the Goto in the Main Action List and set it up to go to the New Module.

Now, when you return to the Call Flow View you will see that the Relations line goes from the Main Menu Module to the three List Modules to the Goto Module to the New Module.

You have changed all the Gotos in the Main Menu in just one step, rather than changing them all individually.

© 2012 LumenVox LLC. All rights reserved.