Cisco Cisco Unified Customer Voice Portal 11.0(1) User Guide

Page of 107
C
HAPTER 
2:
 
V
OICE
XML
 
S
ERVER 
C
OMPONENTS IN 
D
ETAIL
 
 
V
OICE
XML
 
S
ERVER 
U
SER 
G
UIDE 
 
 
 
FOR 
C
ISCO 
U
NIFIED 
C
USTOMER 
V
OICE 
P
ORTAL 
R
ELEASE 
4.0(1) 
 
 
 
 
 
29
The <caller_activity> Tag 
 
Figure 2-6 
Figure 2-6 shows the term that represents the activity of the caller in the current call. The 
<nth_element>
 tag returns the nth element visited by the caller where the attribute 
n
 is the 
number (starting at 0). The 
<nth_exit_state>
 tag returns the exit state of the nth element 
visited by the caller where the attribute 
n
 is the number (starting at 0). The 
<times_elemvis>
 tag 
returns the number of times the caller visited the element whose name is given in the 
element
 
attribute. The 
<times_elemvis_exit>
 tag returns the number of times the caller visited the 
element whose name is given in the attribute 
element
 which returned an exit state whose name 
is given in the 
exit_state
 attribute. 
The <historical_data> Tag
 
 
Figure 2-7 
Figure 2-7 shows the term that represents the historical activity of the user associated with the 
call on the current application. Note that if the application has not been configured with a user 
management database, using this term will cause an error. Refer to Chapter 4: User Management 
for more details about the user management system. The 
type
 attribute determines what kind of 
value is returned. A value of num means that the value returned is the number of calls matching 
the criteria defined by the children tags. A value of last_date_time means that the value returned 
is the last date/time a call was received matching the criteria defined by the children tags. A 
value of first_date_time returns the first date/time a call was received that matched the criteria. 
The 
field
 attribute is used if the 
type
 attribute is last_date_time and indicates which part of the