Map Variables from a Subflow to Master Model
    • Dark
      Light

    Map Variables from a Subflow to Master Model

    • Dark
      Light

    Article Summary

    In this documentation article, learn about map variables from a Subflow to a Master Model in Test Modeller.

    Often, a flow that contains a subflow must use variables and outputs from the subflow.

    A simple method makes variables created within a subflow available to the Master Model that it is part of.

    This example flow has a subflow which has three variables internal to it.

    Here is the subflow:

    These are the Variables that exist only within the Subflow. They do not exist within the Master model:

    To map the variables so that they are available outside the subflow, begin by right-clicking on the subflow and selecting Subflow Properties from the menu:

    The Subflow Properties dialogue box opens. 

    1. Select the Mapped Outputs tab.
    2. Select the variables you want to use outside the subflow.
    3. Then click on Map Variables

    In the Test Data pane of the Master Model, the variables are automatically mapped to externally available variables.