--- title: "Removing Duplicate Values From a List" slug: "removing-duplicate-values-from-a-list" updated: 2025-08-06T13:49:05Z published: 2025-08-06T13:49:05Z canonical: "documentation.decisions.com/removing-duplicate-values-from-a-list" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt > Use this file to discover all available pages before exploring further. # Removing Duplicate Values From a List Example Lab ArticleWhile 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.9.2 | | **Root Folder** | Example Lab - Remove Duplicate Items from a List | | **Modules** | None | | **Dependencies** | None | This Example Lab project demonstrates how to filter through a List and remove any duplicate values. --- ## Explanation The **Remove Duplicates Flow** checks field 1 and field 2 for duplicates. The **List** item will only be removed if both fields 1 and 2 are a match for another List item. This works by using a **ForEach Step** to iterate between each List item individually. The first item is added to the new unique items List by default to avoid checking against an empty list, but every item after that is only added if it does not already exist in the List. This is accomplished using a **R****ule** that determines whether the items in field 1 and field 2 already exist as a List item. If one or both field values do not already exist the item will be added to the List. In order to test this Flow, there is a unit test provided in the Debugger that can be run as an example. Reference Articles[Using Rules](https://documentation.decisions.com/docs/using-rule-steps-in-a-flow) [ForEach Step](https://documentation.decisions.com/step-library/docs/run-rule-set) ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-805.png) --- ## 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.9.2 or later using our [Importing/Exporting](https://documentation.decisions.com/docs/exporting-and-importing-overview) article. [ExampleLab[RemoveDuplicateItemsFromList].zip](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/ExampleLab%5BRemoveDuplicateItemsFromList%5D.zip) ---