Create a File System Output

To create a file system Output, you must first create a file system Connection

Create a Output to a File System in Hero_Flow

  1. Open Hero_Flow.
  2. Click Outputs from the menu on the left.

  3. Click CREATE NEW OUTPUT.

  4. Give the Output a name and select a file system Connection.
  5. Configure the file system Output data.


CSV Output

  • Enter the file path where the outgoing data is stored.
    • Variable syntax:

      ${TUPLE.<field name>}

    • The new data written from the Output overwrites the current file with the same file name. Create a new file with an added time stamp suffix with the syntax:

      ${TIMESTAMP}

  • Select the CSV output format to write image data. 
  • Enter the delimiter that separates values in the file.
  • Check the radio button to indicate if headers are present. 
  • Select the character set for the CSV 
  • If the Input being used in the Flow that is connected to this Output contains multiple files,
    Check the radio button to indicate:
    • Yes, all results are written to a single CSV file.
    • No, results are written to multiple incremental CSV files based on the number of files in the Source.

      This feature is supported for Connections to Dropbox and S3.

  • Click the Refresh icon to display field mapping for the Input.
    • From the field mapping table:
      • Confirm or change field names.
      • Confirm or change field data types.
      • Remove or confirm the arrangement of fields.
  • Click OK to save the Output.



PDF Output

  • Enter the file path where the outgoing data is stored.
    • Variable syntax:

      ${TUPLE.<field name>}

  • Select the PDF output format to write image data. 
  • Click Choose file... to select a file template.
    • Select a template file that can be stored in ~/sflow/templates/pdf/{UUID}/{pdfFileName}
  • Click the Refresh Icon to display the mapping table.
  • Click OK to save the Output.



RAW Output

  • Enter the file path where the outgoing data is stored.
    • Variable syntax:

      ${TUPLE.<field name>}

  • Select the RAW output format to write binary data. 
  • Review the field mapping and select the data type BINARY_DATA.
  • Click OK to save the Output.



TEXT Output

The TEXT Output format allows for Flow users to write out any type of text file. (E.g., JSON or XML)

  • Enter the file path where the outgoing data is stored.
    • Variable syntax:

      ${TUPLE.<field name>}

  • Select the TEXT output format to write text data. 

  • Review the field mapping and select the data type STRING. 
  • Click OK to save the Output.