From variable to payload

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:

 

NG2WorkflowVariable2Payload01

 

Variable name

The name of the variable to copy the data from.

 

Decode base64

If the data in the variable is stored as an encoded base64 data stream, then you can enable this to convert the base64 data stream into a binary data stream.

 

Input type

The input type of the new, changed payload.

 

    • Related Articles

    • 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 ...
    • 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 ...
    • Extract payload from sub-node in input XML

      In this example we want to extract an XML file, that is stored as a sub-node in an input XML file. This could e.g. be an XML file stored inside of a SOAP input file. This input file could have contents similar to this: <SOAP-ENV:Envelope ...
    • 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. ...
    • Named property to payload

      This component can be used with the workflow component, Payload to named property. The named property to payload component retrieves a named property, that was previously saved with the Payload to property, into the payload. This can e.g. be used, if ...