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.
- Okta Workflows
- Lists
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:
