Set one workflow variable

Set one workflow variable

The advanced set meta data workflow component, Set one workflow variable, sets/defines a workflow variable. This can be used later in the workflow and also in a template in the designer.

 

The variable can be referenced in XPath expressions with a preceding $-sign.

 

If you want to create or update multiple workflow variables, then you should consider the Set multiple workflow variables component instead.

 

Please notice the limitation regarding workflow variables and booleans.

 

The component has these parameters:

 

NG2WorkflowSetWorkflowVariable0001

 

Variable name

The name of the workflow variable, that you want to either create or assign a new value to.

 

Variable value

The value to assign to the workflow variable. This can either be a constant like above or an XPath expression.

    • Related Articles

    • Resource to workflow variable

      With the workflow component, Resource to workflow variable (which is a shortcut component of the other category), you can read a resource from the library and store it in a workflow variable. A related component is: From file to workflow variable. ...
    • 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 ...
    • Workflow variable element

      You can define two kinds of variables in your templates: 1.A normal variable, which is defined and used only within the template. 2.A workflow variable, which can be used for e.g. for sending user defined variable information from the workflow to a ...
    • Set MIME type

      The advanced set meta data workflow component, Set MIME type, sets the print data stream used for the next merge to print, but it can also be used for setting the content type, that this is returned from a web service call to InterFormNG2 via REST ...