Defining Custom Variables

Custom variable types contain a set of variables related to a specific object. For example, a custom variable type representing a Customer object would contain variables such as First Name, Last Name, Address, Age, etc.

Custom variable types (objects) are created and updated in the Jacada Interaction Server Admin Console. The objects that are available to you are listed by name in the Data Type list of the Variable Definition dialog.

Sample Custom Variable Types

Once you define a variable using a custom variable type, you can use it to allocate values from the object, update the values of the object, and so on.

To define a custom variable:

1.At the bottom of the Variables Definition dialog, click Add Variable.

The Variable Definition popup opens.

2.In the Reference Name field, enter an appropriate name for the variable. Then, from the Data Type dropdown list, select the relevant object.

The Default Value tab becomes accessible.

Default Value Tab

3.If desired, from the Default Value tab, assign default values to the fields of the object. Either enter a hard coded value in the field, or navigate to and select an existing element. The elements displayed will be only those elements that match the data type of that field (e.g., number). Selecting a default value from the existing element list allows the value of the custom variable to change according to the value of the referenced element.

4.Click OK.

The Variable Definition popup closes, and the new variable is added to the Variables list.