Payload to workflow variable

Payload to workflow variable

The advanced, utilities workflow component, Payload to variable copies the current payload into a variable. This can e.g. be used, if you want to insert the payload into an output file via a variable in a transformation.

 

The payload to workflow variable component has this parameter:

 

NG2PayloadToVariable0001

 

Variable name

This is the workflow variable, that is to contain the contents of the current payload of the workflow.

    • Related Articles

    • From variable to payload

      With the advanced, utilities workflow component, From variable to payload you can overwrite the current payload of the workflow with the contents of a workflow variable. The parameters are: Variable name The name of the variable to copy the data ...
    • 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. ...
    • From file to payload

      It is possible to load a file from the local file system into the payload of the workflow. This will overwrite the contents of the payload, so you might consider to save the payload e.g. into a property or an attachment before you run this advanced ...
    • 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 ...
    • 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 ...