Compare lists
Comments
-
You can definitely build out this logic!
My flow takes in List1 and List2, then I immediately used a Create Data step to make a list of the matches called Matches. Then the first For Each step loops through List1 and for each item in List 2, ForEach Step 2 loops through every item in List2. For both ForEach steps, you will want to make sure that you change the names of the outputs, otherwise they will overwrite each other. I made mine Item1 and Item2.
Then I added a rule that compares Item1 and Item2. If they are not equal it moves on to the next item in list 2. If they are equal, the item will be added to my list Matches with the Add Item to List step. You will want to name the output of the Add Item to List step to be the same name as your Matches list.
Once the first item from List1 has been compared to everything in List2, it will move on to the next item in List1 until it reaches the end of the 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