Skip to main content
Version: 4.16.0

GetTenantVariable component

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

Tenant variables are stored in a database and can be used in all the flows of a tenant. They can be set with the SetTenantVariable component and removed with the RemoveTenantVariable component.

tip

Read more about using variables in Dovetail on this reference page.

Configuration

The GetTenantVariable component has the following configuration options:

Header name

The name of the header you want to place the value of the tenant variable on.

Tenant variable

The name of the tenant variable you wish to get the value from.

note

The current values section shows a preview of the configured tenant variable's Test and Production values

caution

Because tenant variables are stored in a database there is a short time between saving the value of a variable and retrieval. In high-frequency flows, due to parallel processing, retention and retrieval may not occur sequentially, and as a result of the delay, the retrieved value may be older than previously expected.

Last update on Mar 28, 2024