Skip to main content
Version: 4.11.2

GetVariable component

In Dovetail each flow has it's own environment variables, which makes it impossible to exchange variables with other flows. With global variables you can get variables that are available across all flows. These variables can be set by the SetVariable Component and removed by the RemoveVariable Component.

The GetVariable component can be used retrieve the value of the specified global variable and place it on a local header. When installed in test it will retrieve the test value and when installed in production it will retrieve the production value.

Configuration

The GetVariable component has the following configuration options:

PropertyDescription
NameThe name of the header you want to place the value of the global variable on.
Global VariableThe name of the global variable you wish to get the value from.

Remarks

  • Global Variable only supports #{<flow_variable>}, ${header.<headername>}, ${headers.<headername>} and ${bodyAs(String)} expressions.