Contact us

Delete folder from the document library

This activity deletes a folder as specified by the folder name.

Delete folder from the document library activity settings in the SharePoint Workflow Designer

SharePoint Workflow Designer Phrase#

Delete this folder from the current folder.

Parameters#

ParameterDescription
this folderFolder name. Supports multiple names separated by ‘\’ or ‘/’. For example, if the folder name is ‘My Folder1\My Folder2’, the activity will delete ‘My Folder2’ within ‘My Folder1’.
current folderSpecifies the parent of this folder: either the current folder or the document library root folder.

If the folder doesn’t exist, this method does nothing.

Updated on June 17, 2026