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
D DonthuRank #2,299 · 614 reputationPosted Jan 3, 2017, 1:00 AM EST
Sumit DeshmukhRank #597 · 4K reputationPosted Jun 2, 2017, 4:31 AM EDT
Hi Ayush,
http://365hq.net/creating-folders-and-sub-folders-using-sharepoint-2010-designer-workflow/
Rajkiran SwainRank #165 · 14.4K reputationPosted Jun 10, 2017, 10:12 AM EDT
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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts