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 Key is required in the Publish Console to access and publish workflows successfully.

Activity Details in Canvas

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

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