Search

File Explorer

Articles

File Explorer node is used to read the file details from the given folder path and upload the files to the Jiffy File Server.

In a Document Processing HyperApp, all the Invoices in a folder must be processed to extract the required data.
The overall process can be divided into the following activities:

  1. File Explorer node to fetch details of all the files in a folder.
  2. Data Table node to pass details of the files row-by-row.
  3. Task node to trigger a Document Processing task.
Image description

Configuration of File Explorer Node

  1. Click the File Explorer node to open the attributes pane.
  2. Enter the Configuration Name and Cluster in Configurations tab. Image description

Properties of File Explorer Node

  1. Navigate to Properties and enter Name and Description.
  2. Enable Mark run Failure on Node Fail and Continue on Failure? options as required.
  3. Toggle the Write to table field ON, to save details of the files to a Jiffy Table.
    • Select Table: Select the Jiffy Table to save details of the files.

The Jiffy Table selected to save the details of the files must be created with File Explorer schema.

UUIDTable is generated only when the Write to table option is enabled.

Image description

Mapping inputs to File Explorer Node

Map the input parameters in either of the following ways:

  1. From preceding node:

    1. Select the tag to map from the left-hand panel.
    2.  Select the path tag from the right-hand panel. 
    3. Click the Element Map button.
  2. Enter constant values:

    1. Select the path tag from the right-hand panel.
    2. Click the Element Map button. 
    3. Enter folder path in the What to get? field and press Enter.

Image description

On executing the task, all files are uploaded to the File Server. The output of the node is stored in:

  • FileExplorer[]: Datatable of type File Explorer that contains the details of all the files in the folder.
  • UUIDTable[]: Datatable of type Single column that contains the UUIDs assigned to each file stored in the selected Jiffy Table.

These can be Mapped to the succeeding nodes for further use in the task.

Image description

Result of Execution in File Explorer Node

After executing the task, the Result of Execution window displays the following tabs:

  • Input: The input variables that are mapped to the node are displayed.
  • Output: The output of the node execution is displayed.
  • Run Info: The Run Details, Configuration Details, and Machine Details are displayed.
    • Run Details include Run ID, Sequence Number, Iteration, and Total Node Execution Time (in seconds). 
    • Configuration Details include Configuration Name, Clusters, and Config Level.
    • Machine Details include ID, Name, Host, Port, Iteration Start Time, Iteration End Time, Iteration Time (in seconds).
  • Formatted Output: The FileExplorer datatable and UUIDTable are displayed.
    • FileExplorer: Details of all the files are stored in this datatable of type File Explorer.
    • UUIDTable: Single column table consisting of the list of UUIDs assigned to each file stored in the selected Jiffy Table.

Image description

Did you find what you were looking for?