Creating a Filtered List
  • 12 Mar 2021
  • 1 Minute to read
  • Dark
    Light

Creating a Filtered List

  • Dark
    Light

Article summary

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

Version6.12.1
Root FolderExample Lab - Create Filtered List
Modules None
DependenciesNone

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



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 article.





Was this article helpful?