SharePoint Use Cases

  • Home
  • About
  • Our Tools
  • Contact me
SharePoint

Workflow: An error has occured in Approval

Toni Frankola - October 8, 2007

I have created a custom approval workflow in a document library. On customize workflow screen I selected the following option:
[x] Update the approval status (use this workflow to control content approval)

During workflow testing I was surprised when SharePoint reported the following error:
“An error has occured in Approval.“

The solution for this problem is very simple, if you want your workflow to update approval status you need to enable content approval in your document library. To enable content approval here is what you need to do: Go to your document library Settings > Versioning Settings and select „Yes” for “Require content approval for submitted items?“ option.

Tags | issues, workflows
 0
Share Now

Toni Frankola

Entrepreneur, IT consultant, speaker, blogger, and geek. Co-founder of syskit.com.

You Might Also Like

Misc

Why users cannot edit documents during approval

July 1, 2007
SharePoint

SharePoint Usage and Search Usage Reports Issues

July 2, 2007
SharePoint

Site is not highlighted in the top navigation bar

September 17, 2008
SharePoint

Send an email to workflow initator

November 18, 2008

11 Responses

  • http:// October 12, 2007 at 5:05 pm

    My bro Where can I find document library settings.
    Thanks

  • http:// October 14, 2007 at 8:49 pm

    You can see where this option is hidden on this image: http://sharepoint-screencasts.com/blog/Lists/Photos/122606_0648_ForceChecko1.jpg

  • http:// November 20, 2007 at 10:14 am

    I just couldn’t explain where this error was coming from, thank you very much,

    regards,
    J.

  • http:// April 29, 2008 at 8:29 pm

    Thank you, thank you, thank you, thank you!

    Why isn’t this more obvious? Could the error message be more specific so this would be easier to track down?

  • http:// June 3, 2008 at 6:51 pm

    I noticed a problem with this solution, or a least something I didn’t think should happen. Note that I am using the built-in Approval workflow on a list I’ve setup for Invoice Processing.
    When I employ the steps you’ve shown my list now has a new column named “Approval Status” and shows the status of Approved, even for workflows that are still in progress.
    Any thoughts?

  • http:// July 22, 2008 at 2:51 pm

    Bob,

    That’s an expected (?) side affect of turning on Content Approval. Even without any workflows running, if you turn on Content Approval for a document library, any existing documents are automatically considered “Approved”. If you think about it that makes sense. If I had thousands of docs in my library and I then turned on Content Approval, if it didn’t automatically set them all to Approved, then they would all be sitting at “Draft” or “Pending” which would force me to go to each one individually and Approve it (otherwise no one except the originator could see them).

    KevinHou

  • http:// July 22, 2008 at 6:14 pm

    @Kevin: Yes, that is the normal behavior. Otherwise it would not work…

  • http:// August 1, 2008 at 7:33 am

    hi,
    i have a problem with regards to Content Approval.. I have set it to Yes in one of my doc libs programmatically, now tha problem is, whenever i made update to that doc lib thru other libs the Approved ones resets to Pending (e.g. i have another list that whenever a change of status would change the status in that list — i’ve done this thru timerjobs)

    Any thoughts on how to do this programmatically???

    thanks

  • Ajay November 18, 2008 at 3:22 pm

    Hi guys,

    I have a requirement where I need to send automatic emails to the submitter of the out of the box approval workflow once its finished. I tried to create SharePoint workflow for sending email in the item changed event, but no hit. Would be gratefull if you can provide a solution for this.

  • Mark Millett August 19, 2014 at 6:14 pm

    The person causing the execution of the workflow, like the person filling out a SharePoint form with a workflow, credentials are used. If that person is not one of the Approvers, the workflow will fail.

  • Anna Ghimpusan December 30, 2015 at 2:48 pm

    I have created an approval workflow for a customized library, on a 2013 SharePoint. Now I need to update/change this workflow, but after accessing Workflow Settings, when I try to continue the changes and hit “Next”, I get message Please select a workflow template. However the field for workflow templates is grayed oud and no template can be selected (initial template was Approval-SharePoint 2010). How can I solve this error?

  • Comments are closed.

    Previous Post SharePoint Usage Reports
    Next Post How good is SharePoint as Document Management System?

    Archives

    • January 2021 (1)
    • July 2019 (1)
    • June 2019 (2)
    • March 2019 (1)
    • February 2019 (3)
    • October 2018 (2)
    • August 2018 (2)
    • June 2018 (1)
    • April 2018 (1)
    • February 2018 (1)
    • January 2018 (1)
    • June 2017 (1)
    • April 2017 (1)
    • February 2017 (1)
    • November 2016 (2)
    • August 2016 (1)
    • July 2016 (2)
    • March 2016 (1)
    • February 2016 (2)
    • January 2016 (1)
    • November 2015 (2)
    • December 2014 (1)
    • November 2014 (2)
    • July 2014 (2)
    • June 2014 (2)
    • May 2014 (1)
    • April 2014 (2)
    • March 2014 (1)
    • February 2014 (4)
    • January 2014 (2)
    • December 2013 (1)
    • September 2013 (1)
    • July 2013 (1)
    • June 2013 (1)
    • May 2013 (1)
    • April 2013 (3)
    • February 2013 (1)
    • December 2012 (1)
    • November 2012 (1)
    • September 2012 (1)
    • August 2012 (1)
    • July 2012 (2)
    • June 2012 (4)
    • April 2012 (1)
    • February 2012 (1)
    • January 2012 (1)
    • November 2011 (2)
    • October 2011 (2)
    • September 2011 (2)
    • July 2011 (3)
    • May 2011 (2)
    • April 2011 (1)
    • March 2011 (4)
    • February 2011 (3)
    • January 2011 (4)
    • December 2010 (4)
    • November 2010 (3)
    • October 2010 (3)
    • September 2010 (4)
    • August 2010 (1)
    • July 2010 (4)
    • May 2010 (2)
    • April 2010 (2)
    • March 2010 (3)
    • January 2010 (2)
    • December 2009 (3)
    • November 2009 (5)
    • October 2009 (2)
    • August 2009 (7)
    • July 2009 (3)
    • June 2009 (4)
    • May 2009 (3)
    • April 2009 (5)
    • March 2009 (8)
    • February 2009 (5)
    • January 2009 (8)
    • December 2008 (9)
    • November 2008 (8)
    • October 2008 (7)
    • September 2008 (4)
    • August 2008 (6)
    • July 2008 (5)
    • June 2008 (3)
    • May 2008 (4)
    • April 2008 (6)
    • March 2008 (4)
    • February 2008 (3)
    • January 2008 (6)
    • December 2007 (1)
    • November 2007 (3)
    • October 2007 (3)
    • September 2007 (2)
    • August 2007 (1)
    • July 2007 (12)
    • June 2007 (2)
    • May 2007 (3)

    Connect Us

    All postings on this blog are provided “AS IS” with no warranties, and confer no rights. All entries in this blog are my opinion and don’t necessarily reflect the opinion of my employer.

    • Home
    • About
    • Our Tools
    • Contact me

    Copyright (c) Toni Frankola 2008. - 2019.