PreviousNextIndex
Nodes and Palette Options > Detailed Palette Option Descriptions > Input Parameter
 
Input Parameter

Type

Application item

Available from

AppRoot node only (see Setting Global Application Properties: AppRoot Node)

Purpose

When using a modular approach to application design, it is often necessary to pass variable or constant values from one module to another. The Input Parameter item makes it possible for a speech project used as a module node to accept such input from another speech project. For more information about creating and using application modules, see Module Nodes.

Behavior

Use the Input Parameter item when you want to define values to be passed in to a speech project that you want to use as a module for other speech projects. To pass values in to that module, you must place into the AppRoot node one Input Parameter item for each value that you want to pass in to the module.

For each Input Parameter that you place in the AppRoot node, Dialog Designer automatically creates a simple variable with the same name. You can use these variables the same as you way would use any other variable. If a default value is not assigned to the Input Parameter item, Dialog Designer generates an error. When you test the module project, the Avaya Application Simulator (AAS) displays these Input Parameter variables in the Input Parameters display pane of the Call tab. For more information about testing projects, see About Testing Applications by Simulation.

When you are satisfied that your module works the way you want it to work, generate and save it. You must then deploy it as a Dialog Designer module. For more information about this and the procedure to deploy it, see Deploying Projects as Dialog Designer Modules.

Later, when you use this speech project as a module in another project, Dialog Designer automatically populates the module node with one Module Input item for each Input Parameter item in the module. See Module Input.

Properties

Note:

This name must follow conventions for naming Java components as described in Naming Java Components.


PreviousNextIndex

©2009, Avaya Inc. All rights reserved.