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:

  1. From the Edit menu of the Interaction Designer, select Variables.
    The Variables Definition dialog opens.
  2. At the bottom of the dialog, click Add Variable.
    The Variable Definition popup opens.
  3. In the Reference Name field, enter new customer. Then, from the Data Type dropdown list, select customer.

  4. Select the Default Value tab, and assign default values to each field.

  5. Click OK.
    The Variable Definition popup closes, and the new variable is added to the Variables list.
  6. Click OK.
    The Variable Definition dialog closes, and variables are saved.