Skip to main content

Process Files

Description

Process Files performs file system operations — copying, moving, or deleting files — by specifying source and target paths. Use this step when your workflow needs to manage files as part of its processing logic, such as moving completed input files to an archive folder, copying output files to a distribution directory, or deleting temporary files after processing. It operates on each row in the stream, allowing you to handle multiple files dynamically based on field values from previous steps.

Configurations

Field NameDescription
Step nameSpecify the name of the step as it appears in the workflow workspace. This name has to be unique in a single workflow.
OperationChoose an operation from the drop down list: Copy, Move or Delete
Create target parent folderEnable this checkbox to create the target parent folder. Otherwise it throws an exception when the target parent folder does not exist.
Overwrite target fileEnable this option to overwrite the target file if it already exists. Otherwise it will not be overwritten and silently ignored.
Add target filename to resultEnable Add target filename to result checkbox to add the copied, moved or deleted files to result files.
Set simulation modeEnable this checkbox to execute the step only for simulation purposes. No action will be taken at the end and no file will be copied, moved or deleted.
Source filename fieldSpecify a field that contains the complete path to the source file for copy or move or the file to be deleted.
Target filename fieldSpecify a field that contains the complete path to the target file. This field must not be given in the Delete mode.