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.
    • Related Articles

    • Variables

      In InterformNG2 there are 4 kind of variables: User defined variables, that you define in the designer. Workflow variables. They can be defined in the workflow either by setting a single variable or multiple variables at a time. Predefined input ...
    • Global variables

      It is possible to define global variables in InterformNG2, which can be read in all workflows and all templates. You can set a fixed value to such a global variable. This can be used in workflows and templates to identify on which machine the ...
    • Set multiple workflow variables

      The advanced set meta data workflow component, Set multiple workflow variables, sets/defines multiple workflow variables. This can be used later in the workflow and also in a template. The variables can be referenced in XPath expressions with a ...
    • Tenant image

      If you have an installation with multiple tenants, then it can be a good idea to add an image for each tenant in order to quickly identify the tenant. If you attach an image for the tenant, then the tenant overview can look like this: Above you can ...
    • Export tenant

      If you want to duplicate a tenant e.g. in cloud solutions, then you can use this export feature. You can choose what kind of resources you want to export, but all resources of each type are exported. In order to export a tenant, you first need to ...