--- title: "Using Lists as Input for Subflows in Parameters" slug: "using-lists-as-input-for-subflows-in-parameters" description: "In this documentation article, learn how to use Lists as Inputs for Sub-Flows in Parameters." tags: ["Test Data", "Data Lists", "Test Modeller"] updated: 2023-05-12T09:22:57Z published: 2023-05-12T09:22:57Z canonical: "knowledge.curiositysoftware.ie/using-lists-as-input-for-subflows-in-parameters" --- > ## Documentation Index > Fetch the complete documentation index at: https://knowledge.curiositysoftware.ie/llms.txt > Use this file to discover all available pages before exploring further. # Using Lists as Input for Subflows in Parameters In this documentation article, learn how to use Lists as Inputs for Sub-Flows in Parameters. [Embedded content](https://www.youtube.com/embed/0zGAD-xqO9M?&wmode=opaque&rel=0) To get started with this new feature, you must have a **Master Flow** ready, open a **Subflow** of this model. To learn more about parameters, check out these documentation articles: [**Show Default Value for Subflow Parameters**](/docs/show-default-value-for-subflow-parameters) ![](https://cdn.document360.io/77f722a6-2d0a-49fa-8074-572515a6c4b8/Images/Documentation/image-1681816540522.png) Once you’ve opened your **Subflow model,** open the **Test Data & Automation tab** in the **header menu,** and then hit the **Variables option.** ![](https://cdn.document360.io/77f722a6-2d0a-49fa-8074-572515a6c4b8/Images/Documentation/image-1681816547160.png) This opens the **Test Data Variables window,** here you can add **Data Variables** to your model. You can also view and edit existing variables. To use **Lists** as Input for **Subflow Parameters**, edit an existing variable or create a new one by hitting the **Add Variable button**, this will open the **Data Variable window.** ![](https://cdn.document360.io/77f722a6-2d0a-49fa-8074-572515a6c4b8/Images/Documentation/image-1681816551049.png) In the **Data Variable** window you can now select **List Variable** as your **Variable Type,** make sure you also provide some **List Values** and **tick the Expose as IN Flow Parameter box**, as shown below in our example: ![](https://cdn.document360.io/77f722a6-2d0a-49fa-8074-572515a6c4b8/Images/Documentation/image-1681816556137.png) Once you set up and **save** your **Data Variables**, head on over to your **Master Flow,** here you will be able to view your **Input Parameters** for your **Subflow.** ![](https://cdn.document360.io/77f722a6-2d0a-49fa-8074-572515a6c4b8/Images/Documentation/image-1681816562116.png) To view your parameters, **right-click** on your **Subflow** and select **Subflow Properties**, this will open the **Subflow Properties window**. ![](https://cdn.document360.io/77f722a6-2d0a-49fa-8074-572515a6c4b8/Images/Documentation/image-1681816568136.png) In the **Subflow Properties window,** open the **Input Parameters tab**, here you will find the data you previously set up as the **Data Variable** and can select from the **List Values** you created. ![](https://cdn.document360.io/77f722a6-2d0a-49fa-8074-572515a6c4b8/Images/Documentation/image-1681816574162.png) ## Related - [Using Data Lists](/using-data-lists.md) - [Exploring Test Data in Models](/test-data-in-models.md) - [Quality Modeller](/get-started-with-test-modeller.md) - [Enterprise Test Data 101](/enterprise-test-data-101.md) - [Data Activities](/database-activity-tutorials.md)