Remove Duplicate items from the list

Remove Duplicate items from the list

Comments

  • I have combined two lists into one. I am using a For Each step to process each item in my new list. However, there is duplicate data in the new list. Is there a way to remove the duplicate data from being processed?

  • We will need to use an empty list to store non duplicate records, a rule that will evaluate if the data from the For each is already in the empty list.
    [color=rgb(127, 140, 141)][font=Roboto][img]att4[/img][/font][/color]
    I have attached a sample project demonstrating this logic.
    [ul][li]The "create data" step has three lists. Two of the lists have data that will be used by the "For Each" step. There is also an empty list that will be used to store the (non-duplicate)data.
    [/li][/ul]
    [color=rgb(127, 140, 141)][font=Roboto][img]att3[/img][/font][/color]
    [ul][li]The "For each" step joins the "Car list1" "car List 2"
    [/li][li]The rule checks if the item from the for each is already in the empty list (single item list).
    [/li][/ul]
    [color=rgb(127, 140, 141)][font=Roboto][img]att2[/img][/font][/color]
    [ul][li]If it is, it will not be added to the list and move to the next item.
    [/li][li]If it is not it will add the item to the list.
    [/li][li]The form shows the before and after results.
    [/li][/ul]
    [color=rgb(127, 140, 141)][font=Roboto][img]att1[/img][/font][/color]

  • how to remove multiple items in a list

Sign In or Register to comment.