Cisco Cisco Customer Voice Portal 8.0(1) Guia Do Programador

Página de 98
C
HAPTER 
8:
 
S
TANDARD 
D
ECISION 
E
LEMENTS
 
 
V
OICE
XML
 
P
ROGRAMMING 
G
UIDE 
 
 
 
FOR 
C
ISCO 
U
NIFIED 
C
USTOMER 
V
OICE 
P
ORTAL 
R
ELEASE 
4.0(1) 
 
 
 
 
38
 
 
Figure 8-1 
The elements in this XML document are: 
   
exit_state 
– This tag contains the string value representing the exit state in the exact format 
specified in Unified CVP VoiceXML Studio when the standard decision element was first 
defined. 
   
error 
– This tag reports to Unified CVP VoiceXML Server that an error occurred while 
executing the standard decision element. The VoiceXML Server will then throw an exception 
whose message is contained in the 
<error>
 tag. This allows the XML API to throw 
exceptions just as the Java API does. 
   
new_data 
– This tag holds the element and session data this standard decision element is to 
create. Any number of 
<set_element> 
and 
<set_session>
 tags can appear, one for each 
element and session data variable to be created. The 
log
 attribute of 
<set_element>
 sets 
whether the value of the variable is stored in the activity log. The optional 
type
 attribute is 
used to specify the data type of the variable and can be stringintfloat, or boolean. The 
create
 attribute found in both tags determines when the variable is created, before the 
element is entered (before_enter), or after the element exits (after_exit). 
   
set_uid 
– This tag is used to associate the call with a UID in the user management system. 
The content of the tag should be the integer UID.