A custom variable is a user variable whose data type is a custom variable type (object). Objects are created and updated in the Jacada Interact Admin Console. When an Interaction is created or opened in the Interaction Designer, the custom variable type list is updated, based on modifications that were done in the Admin Console. Custom variable types that are available to designers are listed by name in the Data Type list of the Variable Definition dialog.
The following example shows how to create a custom variable with the data type of customer (the object created in the previous example). 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. For examples, refer to Using Custom Variables in Interactions.
To define a custom variable:
- From the Edit menu of the Interaction Designer, select Variables.
The Variables Definition dialog opens.
- At the bottom of the dialog, click Add Variable.
The Variable Definition popup opens.
- In the Reference Name field, enter new customer. Then, from the Data Type dropdown list, select customer.
- Select the Default Value tab, and assign default values to each field.
- Click OK.
The Variable Definition popup closes, and the new variable is added to the Variables list.
- Click OK.
The Variable Definition dialog closes, and variables are saved.