A collection is a type of user variable that contains a list of items. You can define either a simple collection (a list of values) or a collection of objects. Each item in a collection must be of the same data type (number, date, text, boolean, currency, or specific object).
Once you define a collection, you can use it to display information to the end user, allocate items from the collection into other variables, and so on. For more details, refer to Using Collections in Your Interaction.

To define a collection:

  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 collection. Then, from the Data Type dropdown list, select Collection.
    An additional dropdown list appears to the right, and the Collection Values tab becomes accessible.

  3. From the new dropdown list, select the collection type. Objects are listed according to object name.
  4. If desired, manage the collection from the Collection Values tab:
    • To add a value to the collection, click Add Value. Then, 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 selected data type (e.g., number).

    • To rearrange the order of the collection, click Up and Down, as required.
  5. Click OK.
    The Variable Definition popup closes, and the collection is added to the Variables list.