Comparing Two Lists
- 24 Oct 2022
- 1 Minute to read
- Print
- DarkLight
Comparing Two Lists
- Updated on 24 Oct 2022
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
Example Lab Article
While Example Lab projects are resources for public use, articles and assets are not actively maintained. Screenshots and features are from the specified version below. These references may become dated as new versions are released.
Overview
Example Lab Details | |
Version | 6.6.0 |
Root Folder | Example Lab - Comparing Two Lists |
Modules | None |
Dependencies | None |
This Example lab demonstrates how to compare two string lists and output the matches.
Explanation
This Flow takes in two inputs: the First List (String list) and Second List (String list). Then, create the Matched String List (String list) using the create data step. The first list is passed for each step which loops through the list. Then the list is compared to the second list using the "String is in List" step if the strings match, they are then passed to the "Add Items to List" step, which creates the list of matching strings from the two lists.
Reference Articles
Project Download
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. Import the project below to a Decisions environment on version 6.6.0 or later using our Importing/Exporting article.
Was this article helpful?