Copy File/Folder

You can select this activity to copy a file or folder from one parent folder to another.

This table lists the properties for the activity.

Property Type Property Name Data type Description
Common Continue on error Boolean The option to continue the RPA flow even if the activity fails. This check box is selected by default.
Input File or Folder to Copy <OneDriveItem> The file or folder that must be copied as a OneDriveItem. This object can be retrieved using the Find Files And Folders activity.
Target Folder <OneDrive Item> The directory to which this item must be copied as a OneDriveItem. This object can be retrieved using the Find Files and Folders activity. The user's root folder is used if this value is not specified.
New Name <String> The name of the file or folder after being copied.
Misc DisplayName String The name to be displayed for the activity.
Option Account <String> The account with which the activity interacts. When using delegated permissions, specify a shared mailbox or service account accessible to the user. When using application permissions, the activity interacts directly with the specified account.
Output Reference <OneDriveItem> The name used for referring to this folder, in other activities.
Response Code Int32 Response code for the activity. Possible values:
  • 200 to 290: Indicates a successful response or valid output.
  • 400 to 499: Indicates client error responses.
  • 500 to 599: Indicates server error responses.