Description
Moves a file to a specified destination.
Parameters
Path
-
Set a value: enables you to directly write a path of the file you need to move.
-
Save the previous step result: chooses the previous activity result as a path.
-
Calculate a value: enables you to use available properties and methods to form a path.
New file path
-
Set a value: enables you to directly write the path to a new file.
-
Save the previous step result: chooses the previous activity result as a path.
-
Calculate a value: enables you to use available properties and methods to form a path.
Replace already existing file
If the option is enabled and the target directory already has a file with the same name as the source file, then the bot will replace the already existing one. If the option is disabled, the activity will throw an error.Comment
Contains an annotation to the activity. The input text will be displayed above the activity name.
Usage Examples
This activity may be used in cases when you need to move a file having changed its name. For instance, a process requires to deal with three folders: "Queue", "Processed", "Failed". A robot takes a file from the "Queue" folder and performs some manipulations with it. In the end the file goes to either "Processed" folder or "Failed" folder. A corresponding prefix in the name can be added to better reflect the processing result.