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.1K All Categories
- 57 General
- 11 Training
- 200 Installation / Setup
- 1.1K Flows
- 106 Rules
- 259 Administration
- 212 Portal
- 487 General Q & A
- 690 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 51 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 177 Pages
- 5 Process Mining
- New Features
- 176 Datastructures
- 68 Repository
- 214 Integrations
- 28 Multi-Tenant
- 27 SDK
- 76 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 66 Lunch And Learn Questions