Speech Applications Builder Configurator User Guide • May 15, 2004 • page 12 of 116
SAB rules are boolean. They include
•
less than, more than, equal to
•
text handling rules
•
list handling rules
•
looping
More complex boolean rules can be built using multiple rule components.
For example
If id = 10 AND name = "Jones”
can be built as shown in the Figure below, where the first operator is defined as
id = 10
and the
second as
name = “Jones”
.
Figure 3. A complex rule
For more information about defining rules, see page 64.
Triggers
Certain types of event - including loggable events and Java exceptions - can be handled using
triggers
. These are (typically short) alternative dialog flows that are run when the triggering event
occurs.
There are five types of trigger:
•
Exception
- evaluated only when an exception occurs in the underlying code
•
Before step validated
- legacy feature. DO NOT USE
•
Before step runs
- evaluated before the step
•
After step runs
- evaluated after the step
•
Unhandled control
- evaluated if the path required is not defined in the dialog flow