Deduping your System with AppConnect

About

If you have an array of items, you can use an AppConnect formula using .uniq to extract unique values from the array and consolidate your data by removing the duplicate values.

For example, if your values were apple, apple, apple, pear, banana, the .uniq formula would return apple, pear, banana.

In this Article

About

Recipe

Objective

Recipe Logic

Recipe

Objective

Remove duplicate records while composing a CSV.

Recipe Logic

  1. Using the Workato List app, create a Size list equal to number of unique items in the array.
  2. Using the Repeat action, iterate through the list in the previous step. In this example, we are iterating 3 times.
  3. Select Append item to list in the Action dropdown. Create a new list, adding each unique item in each iteration. This will create a new list data pill that can be mapped to the source list field when composing the csv.
  4. Map the source list field with the list data pill created in the previous step.
Was this article helpful?