Workflow "Failed on Start (retrying) – again"

 

(See also http://www.sharepointassist.com/2009/01/08/sharepoint-workflow-failed-on-start-retrying/)

Problem

You’re developing a Windows Workflow Foundation (WWF) workflow and no matter what you do you get the Workflow “Failed on Start (retrying)” message.  In my case I debugged over and over again only to see the TaskCreate method throw an exception (that you can’t capture) and fail. 

image

 

Solution

Specify a token other than the default Workflow1 or top level token.  I like to use “task1, task2, or taskAdmin” or something of those sorts to organize my workflow tokens. 

 

Explanation

I believe the workflow fails because SharePoint can’t “callback” properly to the original task if that task is associated with a generic or top level token even if you have only one task in your workflow.  This is a common mistake and even after over a year of WWF development I still get caught here and there in my haste.

VN:F [1.9.1_1087]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.1_1087]
Rating: -1 (from 3 votes)

Popularity: 9% [?]

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
Share this Post:
Digg Google Bookmarks reddit Mixx StumbleUpon Technorati Yahoo! Buzz DesignFloat Delicious BlinkList Furl

No Responses to “Workflow "Failed on Start (retrying) – again"”

Leave a Reply:

Name (required):
Mail (will not be published) (required):
Website:
Comment (required):
XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>