Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SharePoint 2010 workflows suddenly does not work

I've been having this issue and been looking for a solution to no avail.

Situation A: We have a SharePoint 2010 site which contains a list that has a SharePoint Designer workflow. Now everything seems to be working fine, the workflow runs upon item creation and so on, then after quite some time with no one actually editing anything, the workflow just stopped working, no status in the workflow column as well, just suddenly no workflow activities happening in that list, anyone encountered this/knows a solution for this?

Situation B: We have a SharePoint 2010 site, same as above, we have a list that has a SharePoint designer workflow attached to it. Now this workflow intermittently stops, just suddenly doesn't work upon item creation, no status in workflow columns as well. What happens is that we tried to edit the item and save it again multiple times before it runs. Any idea what's happening?

EDIT: As per checking, I can manually start the workflow.

like image 537
Angelo Kee Avatar asked Sep 20 '13 06:09

Angelo Kee


1 Answers

Sometimes the Workflow Settings can revert to "No New Instances" when you deploy changes to a workflow. You might want to check that.

Otherwise, it doesn't sound like you have a DelayActivity, but it's historically been a place where workflows can hang because of a bug worked around in this blog: http://the-simple-programmer.blogspot.com/2012/10/sharepoint-workflow-delay-activity.html

You basically have to run:

stsadm -o setproperty -pn job-workflow -pv "Every 5 minutes between 0 and 59" -url http://yoursite
like image 197
Colin Avatar answered Oct 19 '22 23:10

Colin