Cisco Cisco Customer Voice Portal 8.0(1) User Guide

Page of 157
the
 <exit_state>
 tag is the type of data to be compared, each type containing different
kinds of data. There can be any number of children to the 
<exit_state>
 tag, each
representing another expression linked with the conjugate.
string – This tag represents an expression comparing strings. The 
operator
 attribute can
be: containsnot_containsends_withnot_ends_withequalnot_equalstarts_with, and
not_starts_with. There can be only two children to the 
<string>
 tag, representing the two
terms of the expression. If there are less than two, an error will occur. If more, the extra ones
will be ignored. The content can be tags representing a constant string entered by the developer,
data about the call, session and element data, user information, date and time information,
the activity of the caller, and historical activity of the user. These tags are fully defined in
the following sections.
number – This tag represents an expression comparing numbers. The 
operator
 attribute
can be: equalnot_equalgreatergreater_equalless, and less_equal. There can be only
two children to the 
<number>
 tag, representing the two terms of the expression. If there are
less than two, an error will occur. If more, the extra ones will be ignored. The content can
be tags representing a constant number entered by the developer, data about the call, session
and element data, user information, date and time information, the activity of the caller, and
historical activity of the user. These tags are fully defined in the following sections.
boolean – This tag represents an expression which evaluates to a boolean result, requiring
only a single term. If the 
check_existence
 attribute is yes, and the 
value
 attribute is true,
it is checking if the data defined by the child tag exists. If 
check_existence
 is yes, and
value
 is false, it is checking if the data defined by the child tag does not exist. If
check_existence
 is no, the 
value
 attribute is used to compare the data defined by the
child tag with either true or false. True means the expression is true if the data defined by
the child tag evaluates to true. The child tags are a smaller subset of those allowed in
<string>
 and 
<number>
: data about the call, session and element data, user information,
or the activity of the caller (each of these is fully defined in the following sections). When
testing if the child tag’s value is true or false, it must be able to evaluate to a Boolean value.
If it cannot, the decision will act as if the rule did not activate.
constant_string / constant_number – These tags store string and number data in the 
value
attribute. The number can be any integer or floating-point number.
Note: The number can also be treated as a string. For example, if 1234 starts with 12.
The following sections explain the contents of the individual tags found within the 
<string>
,
<number>
 and 
<boolean>
 tags.
<call_data>
Figure 13: call_data Tag
User Guide for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 8.0(1)
46
Chapter 2: Cisco Unified CVP VoiceXML Components in Detail
Unified CVP XML Decisions in Detail