A custom variable is a type of user variable that is based on one of the custom variable types that is defined in the Admin Console. For example, a Customer custom variable type (representing a Customer object) may contain fields such as First Name, Last Name, Address, Age, etc. In the Designer, a custom variable named MyCustomer can be created, and (if required) default values can be assigned to the fields. Once the custom variable is defined, you can use it to allocate values from the object, update the values of the object, and so on. (For specific examples of how to use custom variables, refer to Using Custom Variables in Your Interaction.)
The custom variable types (objects) that are available to you are listed by name in the Data Type list of the Variable Definition dialog. For example:

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.

  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.

Revision:

Comments