Exists in Collection
UiPath.Activities.System.Collections.ExistsInCollection
important
While this activity is no longer visible in the activity panel of Studio 2022.8 and subsequent versions, workflows that include this activity continue to function.
Description
Checks if the specified item exists in the specified collection.
Project compatibility
Windows | Cross-platform
Configuration
- Collection - The collection where to check for the item.
- Item - The items to be searched for in the collection.
note
Changing the data type of the collection after selecting it in the Collection field triggers a validation error. The collection with the new data type must be added again to the activity.
Additional options
Output
- Exists - Indicates if the specified item exists in the collection.
- Index if item exists - Reference to the position of the item in the collection.