PreviousNextIndex
Nodes and Palette Options > Detailed Palette Option Descriptions > If
 
If

Type

Condition item

Available from

Any level tab in the Prompt File Editor

Data Node in the Call Flow Editor

Purpose

The Condition item makes it possible to select and play different prompt or data flow segments based on the condition being tested. It works in conjunction with If and Else items to test conditions and return a result. The If item makes it possible to compare the value of a selected variable, the Left Variable or Left Variable Field with:

Then, based on the result of the comparison, the system responds according to what is assigned to the If item, or continues on.

Behavior

The behavior of this item depends largely on which conditional Operator is selected. In general, when the value of the Left Variable is compared and satisfies the condition, then the application plays any prompt segments assigned to the If item. For more information about conditional operators and how to use them, see Conditional Operators.

You can use multiple If items with a single Condition item. If you do so, then the application tests for each If item in turn, in the order they appear under the Condition item. This process continues until the conditions for one If item are met, or there are no more conditions to test for, that is, there are no more If items to test.

Properties

Note:

For more information about simple and complex variables, see Working with Variables.

Note:

For more information about simple and complex variables, see Working with Variables.


PreviousNextIndex

©2009, Avaya Inc. All rights reserved.