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
Howdy, Stranger!
Categories
- 4.2K All Categories
- 67 General
- 11 Training
- 202 Installation / Setup
- 1.1K Flows
- 106 Rules
- 262 Administration
- 212 Portal
- 490 General Q & A
- 695 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 52 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 179 Pages
- 5 Process Mining
- New Features
- 179 Datastructures
- 69 Repository
- 221 Integrations
- 28 Multi-Tenant
- 27 SDK
- 78 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 83 Lunch And Learn Questions