Hello Folks,
Can anyone help me here on this task.
I have to create nested folder in SP document library (Library B) when list item gets added into SP list (List A) using K2 Workflow
EX:List A, Library B.
Suppose user adds item "Project Name" in List A then workflow should create a main folder in Library B with following nested folders
Project Name-> Dev folder, QA Folder,UAT folder .
(So Under Project folder 3 sub folder it should create when workflow triggers)
I was able created one folder 'Project Name' in library using 'Create Folder' object in Document Workflow steps.
Can any one help me and guide how to create nested folder in SP Library ?
Please show the steps.
Thanks in advance
Rajkiran SwainPosted Jun 10, 2017, 2:12 PM
Create a step to create new element (This is the root folder)
Select “DocLib” as list to create item in
Select “Action – Create list element”
Add “Id for contenttype” – set in to Folder
Edit “Path and name (*)” – set it to [%Variable:Vcase%]
Create a step to create new element (This is the subfolder)
Select “DocLib” as list to create item in
Select “Action – Create list element”
Add “Id for contenttype” – set in to Folder
Edit “Path and name (*)” – set it to [%Variable:Vcase%]/[%Variable:Vsubfolder1 %]
Repeat step 5 and 7 for each subfolder you wish to create.
Sumit DeshmukhPosted Jun 2, 2017, 8:31 AM
Hi Ayush,
http://365hq.net/creating-folders-and-sub-folders-using-sharepoint-2010-designer-workflow/
D DonthuPosted Jan 3, 2017, 6:00 AM