Working with Collections

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.

In the following example, we will receive a collection of customers, select multiple customers from a list of choices, and then display information about the selected customers. The sequence is:

1.Create an integration point that returns a collection of customers.

2.Display the collection as a multiple choice Question, using a Choice Lookup element.

3.Display the selected customers to the user, using a Collection Display element.

The Interaction will appear as follows:

CollectionFlow