Delete File/Folder

You can select this activity to delete a file or folder from a specified location in 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 or Folder to delete <OneDriveItem> The file or folder to delete.
Misc DisplayName String The name to be displayed for the activity.
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.