Upload File

You can select this activity to upload a local file to OneDrive or SharePoint.

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 to Upload <String> The location of the file to upload.
In case of a conflict

Dropdown:

Replace, Fail, Rename

Indicates the conflict resolution behaviour if a file with the same name already exists.
Destination Folder <OneDriveItem> The folder where the file must be uploaded. If left blank, the file is uploaded in the OneDrive root folder.
Misc DisplayName String The name to be displayed for the activity.
Output Destination Path <OneDriveItem> The location of the folder where the file must be uploaded.
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.