Global parameters

Global parameters are a way to reuse parts of the model across one or multiple functions. They can be accessed by clicking on the Global Parameters panel. Here, you can operate as if it were a normal function, with a few differences:

  • Every global parameter can be used multiple times across multiple places,
  • You cannot generate test suites directly from global parameters.

To create a global parameter, click on the Add Global Parameter button and type its name.

Adding global parameters

Fig. 1 – Adding global parameters.

To link a global parameter, drag it and drop onto the desired location, then type a name. Note, that you can investigate all references by hovering your mouse over the Number of Links label.

Linking global parameters

Fig. 2 – Linking global parameters.

When deleting a reference parameter, there are two options:

  • Delete all linked parameters,
  • Promote all linked parameters to standalone parameters.
Deleting global parameters

Fig. 3 – Deleting global parameters.

An alternative way to create global parameters is to grab a function parameter and drop it into the GLOBAL PARAMETERS panel. The function parameter changes its type to linked.

Promoting function parameters to global parameters

Fig. 4 – Promoting function parameters to global.

It’s not possible to modify reference parameters through linked parameters — all nodes are grayed out. If you need to update a global parameter, do it in the Global Parameters panel. All changes are reflected automatically.

Updating global parameters

Fig. 5 – Updating global parameters.

Finally, have in mind that all functions in the model can benefit from shared global parameters.

Sharing global parameters

Fig. 6 – Sharing global parameters.