Compartilhar via


How to fix: SharePoint Designer created workflow that periodically stops and does not send emails

Symptoms:

SharePoint Designer 2007 created workflow will "stop" before the Send Email action. This may only happen for certain users, therefore, making the issue seem to happen intermittently.

Workflow status error: "Stopped"

Cause:

Send Email action has SharePoint group(s) and/or workflow lookups in the To / Cc line.

Workaround:  

Make sure each SharePoint group has at least Read permissions for the site. Additionally, that in the Group Settings area of the Group Page, under Who can view the membership of the group, Everyone is selected.

  1. On SharePoint site, click Site Actions -> Site Settings -> Modify All Site Settings.
  2. Under Users and Permissions heading, click People and groups.
  3. Select appropriate group(s), click Settings -> Group Settings.
  4. Under Group Settings area, select Everyone for Who can view the membership of the group, click OK.

Additional Information:

Office Online - Send e-mail in a workflow

Comments

  • Anonymous
    June 17, 2008
    PingBack from http://stevepietrek.com/2008/06/17/links-6172008/

  • Anonymous
    July 28, 2008
    Even with the latest (July 15, 2008) hotfixes applied, I still see this error in the SharePoint Logs.  I am working the issue with Microsoft Support by creating a Virtual PC 2007 SP1 image that demonstrates the problem.

  • Anonymous
    July 29, 2008
    Wow, thanks a ton for posting this.  I had built this nice, complicated browser-enabled form with a ton of logic and conditional workflows associated, then at the end when I incorporated groups into the workflow-generated emails, it stopped working for almost everyone except me.  I narrowed it down to permissions, but I couldn't figure it out when thinking about traditional permissions.  Since new groups default to "Group Members Only" on who can view, it became obvious what my problem was when I read this post.  I switched each group to be viewable by Everyone, and my workflows immediately began to work. The problem for me was I was getting no errors and was only getting the "Stopped" message in the workflow column, so I had no idea where to go.  I eventually narrowed it down to the exact point in the workflow where it was stopping (right when sending the first auto-generated email), but I had no idea why it was failing until now.

  • Anonymous
    August 14, 2008
    Save my life, thanks for this.

  • Anonymous
    October 07, 2008
    I have a copule of workflows that stop prematurely usually at the Wait stage when it is waiting for the status to change. I do not why it just gave up waiting. Wonder if anyone can give me some help here. Wait for Approval Status to equal to 0;#Approved It seems to fail here. It just stopped Thanks Huk

  • Anonymous
    October 07, 2008
    I have a copule of workflows that stop prematurely usually at the Wait stage when it is waiting for the status to change. I do not why it just gave up waiting. Wonder if anyone can give me some help here. Wait for Approval Status to equal to 0;#Approved It seems to fail here. It just stopped Thanks Huk

  • Anonymous
    October 15, 2008
    The comment has been removed

  • Anonymous
    October 31, 2008
    The comment has been removed

  • Anonymous
    January 02, 2009
    Thanks ..... Nice Solution.... Currently it's working fine ....  

  • Anonymous
    January 08, 2009
    Hi, I am not able to see the workflow status in the workflow column when I convert the list to Data View. Please help me out here, what do I need to change in order to see the workflow status?? Thanks in advance.

  • Anonymous
    February 03, 2009
    Have a similar problem with SharePoint Designer workflow not sending an email when a new post is created. But my case is that I specified the email addresses to send an email instead of groups. It is working before and just suddenly stopped working. I get the status of "Failed on Start (retrying)". From the event logs it shows the Event ID: 6875 Error loading and running event receiver Microsoft.SharePoint.Workflow.SPWorkflowAutostartEventReceiver in Microsoft.SharePoint....

  • Anonymous
    February 03, 2009
    figured out my issue,  I'm using a Survey and workflow from a survey response is not supported as per KB 926370

  • Anonymous
    April 21, 2009
    I have a similar issue.  I have a workflow condition that basically should do the following: "If Modified by SP Group" then email to Created by.  I took out the dashes in my SP Group Name and "allowed everyone to view" the SP Group. My workflow is as follows: IF modified by User in Column X OR modified by SP Group AND Mgr Approval = Rejected AND AP Status = Approved AND Column Y = No Email to user in Column X Set Column Y = Yes My email does not get fired off and Column Y does not get set to “YES,” and workflow status says IN PROGRESS.   Any suggestions?  

  • Anonymous
    May 11, 2009
    I can get it to send emails to individuals but the mails to groups are not getting out.  I've ensured all four points are correct in your list above; however, still no-worky.  :(

  • Anonymous
    July 01, 2009
    Thanks for the post.  This really helped when we were about to release a sharepoint site to the company only to find out a lesser user couldn't send e-mail to another group.  

  • Anonymous
    July 13, 2009
    My Sharepoint designer stopped and now its compare field option in the codition is not working

  • Anonymous
    January 07, 2010
    Thanks for the post. We were having a list involving 12 levels of approval process and we were not able to sort out the issue. Is there any reason same like this for the status "Error Occured" and "Failed on start retrying??"

  • Anonymous
    May 13, 2010
    Robert, use the Log to History List Action in the SPD workflow tool to track where your workflow is failing. Insert this after every major Action, then view the log by clicking on the workflow status link (i.e. "In Progress"). The last entry will be just before the workflow stopped.

  • Anonymous
    September 22, 2010
    HI CAN U PLEASE HELP ME THAT HOW TO ASSIGN A TASK TO PARTICULAR COLOUM IN A FORM  USING WF IN SPD 2010

  • Anonymous
    March 01, 2011
    This solved an issue I was fighting with for a few days. Thanks!

  • Anonymous
    April 25, 2011
    25 April 2011.  Issue still occurs.

  • Anonymous
    March 11, 2013
    The comment has been removed