List package
The List package contains actions that enable you to perform various operations on a variable of the list data type.
Working with variables of list data type
A list is a collection of ordered values. The values can be of Boolean, number, or string data subtype. When initializing a list variable, you can select the Any data subtype in order to hold any of the three data subtypes. You can manually enter values by creating a new variable or selecting an existing one from the Variables menu, and then clicking Add.
- Sending an email to multiple recipients.
- Searching multiple web addresses.
Actions in the List package
If you are using a List action in a Loop action, you must use the For each item in the list iterator.
The following actions are available in the List package:
Action | Description |
---|---|
Add item | Inserts an item into a list variable. You can choose to add the
item at the end of the list or specify a position in the list.
|
Assign | Assigns the value of the source list to the destination list variable.
|
Clear | Clears all items from the selected list variable. |
Get item | Retrieves a value at the specified position in a list and stores
the output to a variable.
|
Join items | Combines all the available values in a list variable and stores
the output to a string variable. You can specify the delimiter you
want to use as a separator in the output.
|
Remove item | Removes an item from a list and assigns the output to a variable.
|
Set item | Sets an item at the specific position in a list and stores the
output in a variable.
|
Size | Retrieves the number of items in a list and assigns the output to
a number variable.
|