


Sharepoint 2010 use workflow as timer update#
If that particular condition is met (condition when you want to start the workflow) then update the item in the list and the workflow will start automatically. Write the conditions in the timer job as to when should the workflow start. The configuration options are below: Throttle The number of workflows that can be processed concurrently per content database. This would in effect create a loop that sets the items Current Date to today every 24 hours. Create a timer job and while designing workflow select 'Start the workflow whenever an item is changed'. The job-wofklow Timer Job is ran by SharePoint Timer Service and only runs on Servers which have the Microsoft SharePoint Foundation Workflow Timer Service running. StatusField is a single line of text that would store the trigger for the other workflow.ĭateField is the field that you want to items current date to be stored. Set it up in task scheduler on the box to run your console application. NET 3.5 (version 4.0 will NOT work with the SharePoint API) Paste in the code from your workflow. Another key feature of SharePoint Server 2010 is a Timer Job. When properly configured SharePoint can support collaboration, manage shared documents, define workflows, schedule tasks, etc. The last option to create workflows for SharePoint 2010 is using Visual. Microsoft SharePoint Server 2010 is rich in features. | The stop the workflow and log Set Time 1 In visual studio, File -> New -> Project. Any time a business process relies on human input, it will be prone to errors. | The stop the workflow and log Set Time 2 You could potentially have 2 workflows that trigger each other when an item is changed. I am not sure if that will solve your problem but it might give you a place to start looking.įor question 2. For question 1, I might suggest you look into something called Workflow Throttle which has something to do with concurrent workflows.
