How to Remove Duplicates from a List in Okta Workflows
Last Updated:
Overview
When working with lists in Okta Workflows, there may be a need to remove duplicate values from a list. Use the solution below to remove duplicate values from a list of text or a list of objects.
Applies To
- Okta Workflows
- Lists
Solution
Use a Union (Combine Unique) card with the list as the first input and nothing (an empty list) as the second input to remove duplicates from a list of text:
Use a Remove Duplicates card with the list as the first input and the path to the attribute to check for duplicates as the second input to remove duplicates from a list of objects:
