I have created a custom list named “K2 Workflow Tutorials” in which K2 workflow will be created to create document set. Document set will be created in the documents library named as “K2 Workflow Documents”. Note: Make sure document set feature is enabled in the site collection level and Document Set content type is added to the document library.
Go to K2 designer, drag and drop Create Document Set step from the Document Sets workflow steps in the ribbon interface.
Figure 1: Create Document
Browse to the library where you want to create the document set and then click on Next button.
Figure 2: Click Next
Specify the properties for the new document set and then click on Finish button.
Figure 3: Finish
Deploy the workflow. Create a list item with title field value as “Test” and description field value as “Document set created using K2 Workflow”. After few minutes the workflow will be completed and the document set will be created in “K2 Workflow Documents” library.
Figure 4: K2 WorkFlow Document