Delete Document Set using K2 WorkFlow in SharePoint 2013 Online

I have created a custom list named “K2 Workflow Tutorials” in which K2 workflow will be created to delete document set. Document set will be deleted from “K2 Workflow Documents” library.

Go to K2 designer, drag and drop Delete Document Set step from the Document Sets workflow steps in the ribbon interface.

 
Figure 1: Delete Document Set

Browse to the library containing document set and then click on Next button.

 
Figure 2: Next button 

 

Figure 3: K2 WorkFlow Document

Specify the filters for the new document set to delete and then click on Next button.
 
Figure 4: Click next

Specify whether to use recycle bin and then click on Finish button.

 

Figure 5: Finish

Deploy the workflow. Run the workflow for the list item whose title field value is “Test”. After few minutes the workflow will be completed and the document set with the name as “Test” will be deleted from “K2 Workflow Documents” library.

Ebook Download
View all
Learn
View all