Cisco Cisco Customer Voice Portal 8.0(1) User Guide

Page of 157
The <caller_activity> Tag figure 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 1). 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 1). 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.
<historical_data>
Figure 18: historical data Tag
The <historical_data> Tag figure shows the term that represents the historical activity of the
user associated with the call on the current application.
Note: If the application has not been configured with a user management database, using this
term will cause an error. Refer to 
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 first_date_time or last_date_time and indicates
which part of the date to compare. 
Field
 can be hour_of_day (which returns an integer from
0 to 23), minute (which returns an integer from 0 to 59), day_of_month (which returns an integer
from 1 to 31), month (which returns an integer from 1 to 12), day_of_week (which returns an
integer from 1 to 7 where 1 is Sunday), or year (which returns the 4 digit year). The children
tags are used to turn on various criteria to add to the search.
The different search criteria are:
caller – If this tag appears, the search looks for calls made by the current caller only. If it
does not appear, it will search all calls made by all callers.
User Guide for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 8.0(1)
49
Chapter 2: Cisco Unified CVP VoiceXML Components in Detail
Unified CVP XML Decisions in Detail