ivr IVR Studio User Guide Table of Content << Previous  >> Next

Action Return Variable

An action return variable is the returned name value pairs of an HTTP action or a Java action. These actions return name value pairs to the IVR application. Each action has a return variable associate with it. For example, the get_info_24 action in the 24-hour information hotline sample, has the following name value pairs:

content=Today's weather is...
lastUpdated=Jan 12, 2007

There is no limit on the number of name value pairs that a return variable can have.

Access Action Return Variable

The action return variable can be accessed using the name of the action and the name of the name value pair. A dot notation is used to represent an action return variable. For example, get_info_24.content is used to represent the returned information content. Within IVR Studio, it can used as any other variable, such as in a variable prompt item.

Read Only

Action return variables are read only. Their values are the return values of actions.

 

ivr IVR Studio Table of Content << Previous >> Next