Last Updated: Sep 13, 2021
Function node is used to execute pre-defined and user-defined functions in a task.
In a Document Processing HyperApp, all the Invoices in a folder must be processed to extract the required data and the processed Invoices must be moved to another folder so that the same file is not processed again.
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.
- Function node to execute the Move File function.
In Actions tab, you can define actions to be performed in Function Node.
Click the Function node to open the attributes pane. In the Actions tab, select one of the following options from the first drop-down:
To know more about how to use Functions, click here.
All Input/Local variables of the Function node are displayed under the Variables tab.
All Default/Custom DataTables in the task are displayed under the Table Definitions tab.
If the function requires any files/folders on the local machine, it must run on bot.
All User-Defined/Predefined Functions created for the HyperApp are displayed.
After executing the task, the Result of Execution window displays the following tabs:
If the Function node is executing on server, Machine Details are not displayed.