From variable to file

From variable to file

With the advanced, utilities workflow component, From variable to file you can save the contents of a variable as a file. The parameters are:

    

  1. Variable name
    The name of the variable, that should be saved into a file.
  2. 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.
  3. File path
    The file into which the contents of the variable is to be copied to.

    • Related Articles

    • From file to workflow variable

      With the advanced utilities workflow component, From file to workflow variable you can extract the contents of a file in the file system and put that into the contents of a variable. A related component is: Resource to workflow variable. This can ...
    • Advanced XPath Features

      For more complex scenarios, XPath provides regular expressions, variable assignments, and special functions to manipulate and evaluate XML data dynamically. This section covers these advanced features. Working with regular expressions in XPath Using ...
    • 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 ...
    • Write to file system

      This component is unavailable, if file system access has been disabled in the system settings. This component writes the current workflow body to a file on the local file system. The output directory and filename must be specified in advance using ...
    • Spooled file support

      InterFormNG2 is able to process spooled files, if you install InterFormNG2 on the IBM i platform. Please notice, that spooled file support, as well as Spool2XML, are modules for InterFormNG2, that are purchased separately. You can also use the ...