Cisco Cisco Unified IP Interactive Voice Response (IVR) 8.0(1) Leaflet

Page of 368
 
2-315
Cisco CRS Scripting and Development Series: Volume 2, Editor Step Reference Guide, Release 6.0(1)
 
Chapter 2      CRS Editor Palette Step Descriptions
Java Steps
Note
Use the Java tool in the CRS Expression Editor to enter Java functionality that the 
deprecated steps offered. The Expression Editor Java tool is easier to use and 
more functional than the deprecated steps. For more information, see the Cisco 
CRS Scripting and Development Series: Volume 3, Expression Language 
Reference
Create Java Object Step
Use the Create Java Object step to instantiate a variable or an object of a specified 
Java class. You can create object instances for any variables or Java classes that 
you defined in the Variable pane of the CRS Editor or that are included in the 
definitions of the steps in your palette.
Note
Any customer-defined classes you create should be uploaded to the Document 
repository under \default\classpath. In addition, you must use CRS 
Administration to specify the classpath the system should use. 
The Variable pane of the CRS Editor supports 20 built-in data types:
int (java.lang.Integer)—Whole numbers.
String (java.lang.String)—Set of unicode characters.
boolean (java.lang.Boolean)—True or False.
float (java.lang.Float)—Decimal numbers.
Prompt (com.cisco.prompt.Playable)—Prompt object created with prompt 
expressions or returned using prompt steps.
char (java.lang.Character)—Characters, such as the letters in the alphabet.
Contact (com.cisco.contact.Contact)—Represents a call, e-mail, or HTTP 
request.
Session (com.cisco.session.Session)—Information that can be used to track 
contacts as they move through the system.
User (com.cisco.user.User)—Information useful for user authentication.
Grammar (com.cisco.grammar.Recognizable)—Words or Dual Tone 
Multi-Frequency (DTMF) digits that can be recognized by the CRS script.