Application items, in the AppRoot node, include the parameters and options, other than the event handlers, that control how an application responds on a global level. In many cases, these are items that support the use of the event handlers or perform actions that event handlers are not designed to handle.
The Application Items in the AppRoot node include:
- Input Parameter item - Creates a placeholder for input expected from another module. Use this item when you are creating the project to use as a module. When you place this item in the workspace, Dialog Designer automatically creates a variable with the same name.
- Capture Expression item - Used for capturing VXML data via an ECMA script into Dialog Designer variables.
- Prompt item - Tells what prompt to play when the conditions of the event to which it is attached are met. To use it, you must attach it to another item, specifically, any of the AppRoot Node Event Handlers except the On Disconnect item. Prompt items cannot stand alone in the AppRoot node as they can in other nodes.
- Once attached, you must select a prompt to assign to it from the Name drop-down list.
- See the following sections:
- Grammar item - In the AppRoot node, the Grammar item works only in conjunction with the Link item. Use this item to tell the Link item which ASR or DTMF grammar to use.
- See the following sections:
- Link item - Tells the application which node to go to when the system recognizes a specific spoken or DTMF response from the caller. To use this item, you must specify either a DTMF or ASR response (or both) to be recognized. To use the ASR option, you must attach a Grammar item to this item. To use the DTMF option, you might specify the required DTMF combination of key presses in this item or attach a DTMF grammar item.
- Goto item - Tells the application which node to go to when the conditions of the event to which the Goto item is attached are met. To use the Goto item, you must attach it to another item, specifically, any of the AppRoot Node Event Handlers except the On Disconnect item. You cannot attach a Goto item to an event handler that has a Throw item already attached.
- Throw item - Tells the application which event to throw when the conditions of the event to which the Throw item is attached are met. To use the Throw item, you must attach it to another item, specifically, any of the AppRoot Node Event Handlers except the On Disconnect item. You cannot attach a Throw item to an event handler that has a Goto item already attached.
- Property - Use this item to set properties for ASR, DTMF, and transitional audio prompts at a global level. Examples of the types of properties you can set include:
- Confidence and sensitivity levels
- External Property - Use this item to set custom properties for ASR. These custom properties are sometimes required, for example, in conjunction with some ASR engines, such as some of the Nuance ASR software.