6

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.

Angelo Kee
  • 348
  • 1
  • 2
  • 11
  • If you go to the list can you still see the workflow, can you start in manually? – Truezplaya Sep 23 '13 at 12:46
  • will try this one and let you know, but if ever, this is not a good solution for our end though. – Angelo Kee Sep 24 '13 at 05:14
  • Does the workflow fully work and complete when manually started? What does the workflow do? I'm wondering if whatever the workflow does is throwing an error and isn't being logged, Have you checked through the ULS logs? – Truezplaya Sep 24 '13 at 08:23
  • nothing i see in the ULS logs sadly, I made a workflow that only places a value in a column, shouldn't really have any wrong stuff in the workflow. and yep, the workflow fully works when manually started. – Angelo Kee Sep 24 '13 at 08:37
  • It's not something to do with permissions is it? Seems very odd that it would just stop.Have you tried redeploying the workflow via designer? Does this happen for all users? – Truezplaya Sep 24 '13 at 10:51
  • sorry for the delayed response, yes, I've tried re-saving and redeploying to no avail. This is also the first time I've encountered this (serious) issue. – Angelo Kee Sep 25 '13 at 06:57
  • Are there any errors in any of the server logs? – Truezplaya Sep 25 '13 at 15:11
  • Nope, didn't see any errors.. – Angelo Kee Sep 26 '13 at 14:37
  • Is the Windows SharePoint Services Timer V4 service (SPTimerV4) running? If it is try restarting it. – Aquila Sands Sep 29 '13 at 20:44
  • @aquila, done to no avail. – Angelo Kee Sep 30 '13 at 06:36
  • Are the workflows being triggered on item edit? If so this may be causing recursion and this is not allowed, have a look through the ULS logs for this. – Aquila Sands Sep 30 '13 at 08:05
  • Hi Aquila, nope, not being triggered on edit as well, there are (random) times it is being triggered on item creation, and on item edit (wherein both satisfies the workflow conditions at all times) – Angelo Kee Sep 30 '13 at 13:54

3 Answers3

1

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
Colin
  • 3,770
  • 16
  • 36
  • sadly this seems unjustifiable.. first we don't have a delayed workflow running in that subsite.. ever. It was a new subsite created. Also, we can't just run scripts in the server, since this is in a production environment and we cannot replicate the issue in the dev environment where we can test this. And lastly, if it's getting confused, why are there times when it runs and sometimes not. – Angelo Kee Sep 25 '13 at 07:00
  • i'll be awarding you the bounty though this didn't really work, you've given the best answer so far :) – Angelo Kee Oct 01 '13 at 07:04
  • Sorry it didn't fix the problem! Those were the best things I could think of to try. – Colin Oct 03 '13 at 19:31
0

Check your workflow history list. you may get clear picture of what stoping your workflow.

Alok Deo
  • 126
  • 2
0

I doubt that this is the reason, but is there a chance that somebody has disabled the Workflows features from the Site settings

Velin Georgiev
  • 1,869
  • 13
  • 20
  • sorry for the late response, but nope, checked that feature as well in the site collection level but it is activated. – Angelo Kee Sep 30 '13 at 06:36