Move File

This activity is used to move a file from one location to another by specifying the path.

Technical Reference

 

 

 

INPUT

FilePath: This indicates the path in which the file already exists.

NewFilePath: This indicates the path in which the file has to be moved.

 

 

 

 

 

 

 

MISC

Display Name: Displays the name of the activity. You can also customize the activity name to help troubleshoot issues faster. This name will be used for logging purposes.

SkipOnError: It specifies whether to continue executing the workflow even if it throws an error. This supports only Boolean value “True or False.”

True: Continues to execute the workflow irrespective of any error thrown.

False: Stops the workflow if it throws any error

Version: It specifies the version of the FS automation feature in use

OUTPUT

Result: Define a Boolean to validate if the activity has been completed successfully.

* Mandatory fields to execute the workflow.

The following activity illustrates on how we can use the move file activity to move a file from one folder to the other.

Example:

1.      Drag and drop a move file activity from the FS automation feature

2.      Double click on the activity and enter the

for move file from and move file to using the browse option

3.      Create a variable as “Test” in the result box to get the result of the activity

4.      Drag and drop a write log activity from the notifications feature below the exist activity.

5.      Add the variable as “Test.ToString ” in the input string of the write log activity.

         

6.      Add the log level by choosing any one from the five options available. Here we are using Info.

7.      Execute the workflow            

 

     

The bot has moved the file from the specified path to the path that has been given in the Move to path box.