Global variables

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 workflow/template is running. A related variable is the tenant variable

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

You define global variables by first signing on as a system administrator in InterformNG2 and then select: Settings, General Settings and Global variables as marked below:



Now you will this:


You can add multiple variables with a matching value by simply typing them and click Save. You can rearrange the sequence by clicking the arrows on the right and delete a variable with the trashcan icon on the right. Save your changes by clicking the Save icon in the bottom.

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 ...
    • 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 ...
    • 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 ...
    • Set secure workflow variables component

      The advanced, utilities workflow component, Set secure workflow variables can be used as a way to protect passwords used in the InterformNG2 workflows e.g. for API calls. Related built-in functions are: ng:encrypt() and ng:decrypt(). The component ...
    • Other global settings

      The other global system settings are: Global system settings. Performance settings.