Collection includes activities for managing and manipulating data structures such as lists, dictionaries, and arrays to store and process multiple values efficiently.
The Collection activity has the following sub activities:
Add Items: This activity is used to add an array of items to a specified collection.
Input Properties:
Collection– The variable that holds the collection items. Or Variable storing collection items.
Items– Array of items added to the collection. Or Array of items in the collection.
Create Collection: This activity is used to create a new collection of an ArrayList data type.
Output Properties:
Collection– The variable that holds the collection items. Or Variable storing collection items.
Item Exists: This activity is used to check if the specified item exists in the collection or not.
Input Properties:
Collection– The variable that holds the collection items. Or Variable storing collection items.
Items– Array of items to check in the collection.
Output Properties:
Exists– Boolean variables which indicate whether the array of items exists or not.
Remove Items: This activity is used to delete an array of items from a collection.
Input Properties:
Collection– The variable that holds the collection items.
Items– Array of items to remove from the collection.