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 Name | Description |
|---|---|
| Step name | Specify the name of the step as it appears in the workflow workspace. This name has to be unique in a single workflow. |
| Operation | Choose an operation from the drop down list: Copy, Move or Delete |
| Create target parent folder | Enable this checkbox to create the target parent folder. Otherwise it throws an exception when the target parent folder does not exist. |
| Overwrite target file | Enable this option to overwrite the target file if it already exists. Otherwise it will not be overwritten and silently ignored. |
| Add target filename to result | Enable Add target filename to result checkbox to add the copied, moved or deleted files to result files. |
| Set simulation mode | Enable 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 field | Specify a field that contains the complete path to the source file for copy or move or the file to be deleted. |
| Target filename field | Specify a field that contains the complete path to the target file. This field must not be given in the Delete mode. |