SharePoint 2010: Workflow gets “stuck” in starting state

I have been wondering seriously about the following problem. Some times workflow (created in Visual Studio 2010) stays in “Starting” state for at least 5 minutes. After some searching it was pointed out that Timer needs to trigger workflows if they are started programmatically and the logs state in a way same thing. However this does not occur when user starts workflow. I’ll be posting the solution for this problem when I’ll find it. The workflow in this case has some special features for which the immediate start is almost obligatory. I have also tried adding some delay in the workflow before calling the start, but no luck this far. This “starting” state was never a problem in SharePoint 2007.


About Sakarih

I am SharePoint developer/architect from Finland and my blogposts are all about SharePoint 2007/2010/2013 stuff. There might be also something else posted.
This entry was posted in SharePoint 2010. Bookmark the permalink.

3 Responses to SharePoint 2010: Workflow gets “stuck” in starting state

  1. Leigh Webber says:

    Did you ever figure this out? I have the same problem.

    • sakarih says:

      I were not able to find perfect solution for the problem but I found that there are a few workflow related timer jobs. If I remember correct the right timer job was called “Workflow” that runs on targeted web application. This timer job has by default interval of 5 minutes, changing this interval to 1 minute will significantly improve starting time of workflow when it’s in “Starting” stage. I hope that this will ease some pain, althought I would like even more “instant workflow starting”.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s