Tool Tips For All the Expression Editor Tools

  • The example expressions in this guide include both simple and complex ones and list the script variables used in the expressions.

    In Unified IP IVR, Unified CCX Enhanced, and Unified Contact CCX Premium, you can enter both simple and complex expressions.

  • A complex expression is one surrounded by braces and having more than one statement, is specific to the Java language, and requires that you have a Java license. If your script contains a complex expression and you do not have a Java license, then when you load that script in the Cisco Unified CCX engine, the script is declared invalid and you will not be able to run it.

  • You can paste into an expression a variable, constructor, method, and attribute that you select from the tool selection boxes.

  • The constructor, method, and attribute selection boxes for each tool display the public Java constructors, methods, and attributes available for that tool.

  • The variables selection box filters the variables in the opened script so that only those of the selected tool type are displayed.

  • Both static and nonstatic available public Java methods and attributes are displayed:

    • A static method or attribute is an operation attached to a data type rather than attached to an object. It is similar to a global function and does not require an instance Object of the type

      Note

      As opposed to previous releases, invoking static methods no longer requires having a dummy variable created of the proper type. Instead one can simply prefix the method name with the class name followed by a period. For example: String.valueOf().

    • A non static method or attribute requires an instance Object of the type.

See Using Expressions and the Expression Editor, for further generic “how to” information.