Tenant variables

Tenant variables

It is possible to define one or multiple tenant variables. This can e.g. be used as a way to identify the tenant on which the current workflow or template is running. The workflow can e.g. use that in a condition to prevent emailing customers if the workflow is running on a test-tenant.

Related variables are the Global variables. Please notice, that if you define the same variable (case sensitive) as both a global variable and as a tenant variable, then the tenant variable will overwrite the value stored in the global variable for the specific tenant.

Please notice that if you define a workflow variable or template variable with the same name as the tenant variable (case sensitive), then the value stored in the tenant variable will be overwritten in the current workflow and template(s).

You define tenant variables by signing on to a tenant and here select Settings in the top ribbon and then General settings. Now you can edit the tenant variables:


You simply type in the variable name on the left and the matching value on the right. You can use the arrow icons on the left to move the variables up or down on the list. Use the trashcan icon on the right to delete a variable. You can define additional variables by clicking on the + Add more icon. 

You can encrypt the value of a variable. That can be useful if you want to securely store a password in a variable. The password can only be decrypted with the ng:decrypt function, which is only allowed in certain workflow components.

Click the Save icon to save your changes.

You can refer to Global variables and Tenant variables in the workflow variable element in the designer and when you refer to variables in the workflow.