Delete File or Folder

Estimated reading: 2 minutes

The Delete File or Folder activity deletes a specified file or folder from a SharePoint document library. You can choose to permanently delete the item or move it to the recycle bin.

Prerequisites

A valid project must exist in the Publish Console before you can access and publish workflows.

Activity Details in Canvas

SharePoint*: Select the account from the available connections. The selected account is used to authenticate with and access SharePoint.

Note: Before using the SharePoint activity, make sure the following prerequisites are met:

a. The project has been added under the Publish option.
b. The SharePoint Connector is connected on the Manager side.

Once both conditions are met, the SharePoint activity loads and connects, allowing you to perform the supported SharePoint operations.

File or Folder to Delete: Select the file or folder to delete from the document library. You can select an item using the folder picker or provide a variable containing the file or folder path.

Permanently Delete: Specifies whether the selected file or folder should be permanently deleted.
Yes: Permanently deletes the file or folder.
No: Moves the file or folder to the recycle bin.

Properties

MISC

DisplayName: Specifies the display name of the activity. This value can be customized to improve workflow readability and troubleshooting.

SkipOnError: Specifies whether the workflow execution should continue when the activity encounters an error.
True: The workflow continues execution even if an error occurs.
False: The workflow stops execution when an error occurs.
None: The default value is set to False.

Version: Displays the current version of the activity.

OUTPUT

Result: Returns a Boolean value indicating the execution status of the activity.
True: The activity executed successfully.
False: The activity failed due to an unexpected error.

Share this Doc

Delete File or Folder

Or copy link

CONTENTS
Robility Chatbot
Robility Assistant
Online