--- title: "Using Flow Data in Rules" slug: "flow-data-in-rules" updated: 2024-12-20T19:21:15Z published: 2024-12-20T19:21:15Z canonical: "documentation.decisions.com/flow-data-in-rules" --- > ## 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. # Using Flow Data in Rules 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** | 7.10.0 Revision 68532 | | **Root Folder** | Example Lab - Using Flow Data in Rules | | **Modules** | None | | **Dependencies** | None | This Example Lab Project demonstrates how to add **Flow Da****ta** in a Rule. As of version 7.10, **Statement Rules** and **Evaluation Rules** in **Rulesets** now have constants for their **I****D, Folder, and Name** inside Flow Data. This allows the Rule to identify and use this information as part of the Rule. For example, designing a Rule to use its folder path as part of its condition. --- ## Explanation This project uses a **Statement Rule** with two string inputs, FolderID, and Name. The Rule will check if these values match the **RuleFolderID** and **CurrentRuleName** inside **Flow Data**. If both values match, the Rule will return as true. If the values do not match, the Rule will evaluate as false. The Rule can be tested using the debugger. Reference Articles - [Creating a Rule](https://documentation.decisions.com/docs/create-rules) - [Rule Debugging and Unit Tests](https://documentation.decisions.com/docs/debug-rules) ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/2022-01-20_13h23_45.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 7.10 or later using our [Importing/Exporting](https://documentation.decisions.com/docs/importing-and-exporting-projects) article. [ExampleLab[RuleFlowData].zip](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/ExampleLab%5BRuleFlowData%5D.zip)