Comparing Two List Efficiently
Comments
-
What is a quick way of comparing two lists in order to find the matches? For instance, if I want to compare a list of strings with another list, what is the most efficient way to do so?
-
We have a few different ways of doing this. The first way is to use a For Each step and using the inbuilt String Is in List step to compare each item of List A to List B and output the matches. Attached below is an example setup of how you might want to perform this.
Secondly, we are able to do this by using a Rule Collection Filter and it will automatically sort the results. Within the attached screenshot, I have provided an example of a setup that works. You can find more documentation about Rule Collection Filters here: https://documentation.decisions.com/docs/rule-collection-filter-step
*Please Note: The examples attached were developed to be instructional, and were not developed as officially supported components. For more information or to engage our service team to develop fully supported, production quality solutions, please contact: services@decisions.com
[i]edited by david.gillespie@decisions.com on 10/12/2022[/i]
[i]edited by david.gillespie@decisions.com on 10/12/2022[/i]
Howdy, Stranger!
Categories
- 4.2K All Categories
- 66 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