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:
- File Explorer node to fetch details of all the files in a folder.
- Data Table node to pass details of the files row-by-row.
- Task node to trigger a Document Processing task.
Configuration of File Explorer Node
- Click the File Explorer node to open the attributes pane.
- Enter the Configuration Name and Cluster in Configurations tab.
Properties of File Explorer Node
- Navigate to Properties and enter Name and Description.
- Enable Mark run Failure on Node Fail and Continue on Failure? options as required.
- 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.
Map the input parameters in either of the following ways:
From preceding node:
- Select the tag to map from the left-hand panel.
- Select the path tag from the right-hand panel.
- Click the Element Map button.
Enter constant values:
- Select the path tag from the right-hand panel.
- Click the Element Map button.
- Enter folder path in the What to get? field and press Enter.
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.
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.