Cisco Cisco Unified Customer Voice Portal 11.0(1) Release Note

Page of 152
C
HAPTER 
2:
 
Unified CVP
 
C
OMPONENTS IN 
D
ETAIL
 
 
U
SER 
G
UIDE FOR 
C
ISCO 
U
NIFIED 
CVP
 
VXML
 
S
ERVER 
 
 
 
AND 
C
ISCO 
U
NIFIED 
C
ALL 
S
TUDIO
 
 
 
 
39 
defined in the Builder for Call Studio. The 
conjugate 
attribute can be either and or or. If 
the exit state contains only one expression the 
conjugate 
attribute is ignored. The content of 
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: 
contains, not_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: equal, not_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 that 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.