Definition and Usage
Move file relocates a file from its current location to a specified destination folder. This action is useful for organizing files, archiving processed documents, or managing file structures within your workflow.
Parameter Values
Input parameters
Parameter | Description | Possible Values | Required | Options / Notes |
File to move | Enter a file path, or choose a variable containing a file path |
| Yes | Use the 'Get files in folder' action to populate a variable with a list of files |
Destination folder | Choose or enter the full path of the destination folder for the moved file(s) |
| Yes |
|
If file exists | Specify what to do if a file with the same name already exists in the destination folder | Overwrite, Do nothing, Rename | Yes |
|
Error handling
Parameter Name | Description |
Throw error & stop | When an error occurs, the action will trigger an error and stop the execution of the entire app |
Retry command | If an error occurs, the action will retry the command in an attempt to resolve the issue and continue the process |
Ignore error & continue | When an error occurs, the action will be ignored, and the workflow will continue without interruption |
Variables produced
This action produces a variable that stores the path of the moved file, allowing you to reference the new location in subsequent actions.
Using Variables in Conditions
You can use variables in the "File to move" and "Destination folder" fields by clicking the {x} icon or inserting a variable reference. This allows you to dynamically specify file paths based on previous actions or user inputs.
Notes
Ensure that both source file and destination folder paths are valid and accessible
The user account running the automation must have sufficient permissions to read from the source and write to the destination
When using the "Rename" option for file conflicts, the system will automatically append a number to the filename
Be cautious when using "Overwrite" as it permanently replaces existing files without confirmation
Network paths and mapped drives are supported but may require additional permissions