Remove duplicates from collection
The Remove duplicates from collection action A tool for building the processes, logic, and direction within workflows. removes items that have values already existing in the specified collection A variable containing multiple items, such as email addresses. Collection variables are useful for storing and operating on query results. For example, you can set up collection variables for names, email addresses, and index values to store results from querying a list. You can then loop through items in a particular collection variable (names, emails, or index values)..
For example, you might want only unique city values from a list.
Before you begin:
In the Designer page:
Click the Collection operations action group in the action toolbox.
Find actions by browsing action groups, or by typing an action name or function in the Search field at the top of the action toolbox.
- Drag the Remove duplicates from collection action to the point in the workflow when you want to remove duplicates.
- Click the Remove duplicates from collection action.
Complete the fields. For more information on the fields, see Remove duplicates from collection fields.
Example returned contents
Target collection collProduce
apple; carrot; apple; romaine
apple; carrot; romaine
|Collection variable that you want to remove duplicates from. Accepts an inserted variable.
Collection variable to store the new set of items after duplicates are removed. Accepts an inserted variable.