Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Tuesday, August 9, 2016 10:23 AM
Hi,
I have a site with 20+ libraries. I'd like to create automatically at each start of a month a new folder for each library, with the name of the month ('September 2016' or '2016-09', for example). Is that possible with a Workflow?
Thanks,
problem99
All replies (7)
Wednesday, August 10, 2016 3:03 AM ✅Answered
Hi problem99,
For creating a folder from workflow, you can follow the steps:
1.To create a folder, choose the action "Create a list item".
2.Click on the blue part to open a window asking for some information.
3.Choose the list where the folder shall be added from the dropdown field.
4.If your list has multiple content types, a field to assign a value to, will automatically be added. It is called "Content Type ID". If it is not present, click on "Add" to add this field.
5.For the value of this field you will have a dropdown selection from which you have to choose "Folder".
6.To give the folder a name, also add the field "Title" and give it a value of you choice(For your request, it should be the date).
The workflow will look like this:
As above suggestions, you can schedule the workflow either by task scheduler or sharepoint custom timer job.
Best Regards,
CY
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected].
Tuesday, August 9, 2016 10:48 AM
Task scheduler and powershell script would be more appropriate then the workflow. Create a powershell script to create folder 📁 on current date in a desired format and schedule it in task scheduler to run monthly.
Rajesh
rjesh.com| @rjesh
You don't need to buy me a beer, if helpful just smile, vote, and mark it as answer.
Tuesday, August 9, 2016 11:15 AM
I am not sure, it'll worked out for you or not.
We can create folder easily using workflow but the main task here for us to strat workflow on every month. You can do one thing.
Simple create workflow for creating folder (Use Create item and select folder option in Nintex).
and to start that workflow you can write powershell code to start workflow using windows task scheduler to run in your own way.
Ref: https://social.technet.microsoft.com/Forums/sharepoint/en-US/dffdceab-f2fe-4886-8e2a-ea26cf08c78a/how-to-start-a-speific-workflow-programatically-in-sharepoint-2010-via-powershell
Mahi
Please Mark as answer if found useful :)
Tuesday, August 9, 2016 1:48 PM
Use Sharepoint Workflow and schedule the workflow either by task scheduler or sharepoint custom timer job.
Refer link:
https://bhandariasb.wordpress.com/2013/06/03/start-workflow-from-custom-timer-job/
Wednesday, August 10, 2016 2:33 PM
you can also schedule workflow in Nintex as per your requirement.
Please Mark as answer if found useful :)
Wednesday, August 10, 2016 2:57 PM
Thanks. for all these answers. I will try these tomorrow :)
Thursday, August 25, 2016 9:04 AM
Hi,
Are you still facing the issue? Any update?
Best Regards,
CY
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected].