--- title: "Creating a Filtered List" slug: "creating-a-filtered-list" updated: 2021-03-12T15:06:30Z published: 2021-03-12T15:06:30Z canonical: "documentation.decisions.com/creating-a-filtered-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. # Creating a Filtered 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.12.1 | | **Root Folder** | Example Lab - Create Filtered List | | **Modules** | None | | **Dependencies** | None | Simulate a rule collection filter step that returns both the items that do match the rule, and the items that do not match the rule. --- ## Explanation Normally, a rule collection filter step only returns the items that match your rule. This flow simulates a filter step that returns two collections: Both of the collection that satisfies the filter rule, as well as the collection that does not satisfy the filter rule. First, two empty lists are initialized, then a for each step iterates through every item on the input list. A rule determines which list to add it to, and then keeps going until all items have been sorted. Reference Articles[Rule Collection Filter Step](https://documentation.decisions.com/docs/rule-collection-filter-step) [Using Rule Steps in a Flow](https://documentation.decisions.com/docs/using-rule-steps-in-a-flow) ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1602169871763.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.12.1 or later using our [Importing/Exporting](https://documentation.decisions.com/docs/exporting-and-importing-overview) article. [ExampleLab[CreateFilteredList].zip](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/ExampleLab%5BCreateFilteredList%5D.zip) ---