Remove Duplicates

Removes duplicates from a list.

Input Fields

  • List: The list you want to remove duplicates from.

  • Path (Objects only)List is a list of objects, Path is the name of the key that determines whether something is a duplicate or not. For example, you may want just one customer record per unique email address. This field is required.

Output Fields

  • List No Duplicates: The list with no duplicates.

To filter out duplicates using more complex criteria than a single value or key, use the Unique Custom function which calls a helper flow to determine the value for each item that determines its uniqueness or not.

Examples

If List is [9,80,1,9,20,1] then List No Duplicates is [1,9,20,80]. Only one instance of each number is returned.

Related topics

About lists

Functions in Workflows

About the elements of Okta Workflows