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:

 

  1. Variable name
    The name of the workflow variable, that you want to either create or assign a new value to. The variable name is to be inserted without the dollar sign. You can click the magnifying glass if you want to refer to a predefined variable.
  2.  Variable value
    The value to assign to the workflow variable. This can either be a constant like above or an XPath expression. You need to click the T icon to the right in order to enter 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. ...
    • Advanced Set meta data workflow components

      The advanced set meta data workflow components are: Email details. Sets various email meta data like subject, receivers and sender. Extra PCL commands. With this you can add your own PCL commands in the PCL output from InterFormNG2 e.g. for tray ...
    • Variable element

      It is possible to define one or more variables in the InterFormNG2 designer. The advantage is, that you can use variables e.g. to add up all the detail lines of a page and output the page total in the footer. You can also use variables in normal ...
    • 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 ...
    • Set attachment name

      The advanced set meta data workflow component, Set attachment name sets the name of the attachment for the next email(s) in the current workflow. This can be used with these workflow components e.g. to add an extra attachment to an email: File to ...