--- title: "Using Data Flows to Select a Value in Drop Down Lists" slug: "using-data-flows-to-change-the-selected-value-of-a-drop-down-list" updated: 2022-07-08T17:35:07Z published: 2022-07-08T17:35:07Z canonical: "documentation.decisions.com/using-data-flows-to-change-the-selected-value-of-a-drop-down-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. # Using Data Flows to Select a Value in Drop Down Lists 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.10.1 | | **Root Folder** | Example Lab - Data Flow Change Drop Down Value | | **Modules** | None | | **Dependencies** | None | This Example Lab project demonstrates how to use a Data Flow to change the selected value in a drop-down box on a Form. It is important to check "Refresh all the components listening to this data-name" for the output of the Data Flow to see the expected behavior. --- ## Explanation This Example Lab project displays a Form with a checkbox and a drop-down box. Changes to the checkbox value will trigger a Data Flow to run, which changes the selected value in the drop-down box. The Data Flow runs a Rule to determine the value of the checkbox. If the checkbox value is set to "True" the "return" value on the Output String step will be 3, and if "False" it will be set to null. This value is then passed to the End step. In the Data Flow Editor, it is important that the Flow output name is identical to the drop-down box output, and that "Refresh all components listening to this data-name" is checked. This ensures the selected drop-down down value updates every time the Data Flow runs. "RunOnValueChanged" in the Flow Input Editor should also be checked to trigger the start of the Data Flow when the checkbox value changes. Reference Articles[How to Use a Data Flow in a Form](https://documentation.decisions.com/docs/using-flow-data-form) [Using a Data Flow in a Form - Advanced Example](https://documentation.decisions.com/v6/docs/using-data-flow-form-advanced-example) ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-514(2).png) ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-579.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.10.1 or later using our [Importing/Exporting](https://documentation.decisions.com/docs/exporting-and-importing-overview) article. [ExampleLab[DataFlowChangeDropDownValue].zip](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/ExampleLab%5BDataFlowChangeDropDownValue%5D.zip) ---