Ashley
Blog - Robert Bogue [MVP]
Rob's Notebook
SharePoint Calendar

Categories

Links

Archives

Other Blogs

Thor Projects LLC - Welcome : Blog - Robert Bogue [MVP]

Missing Content Types and Workflows

Posted by Robert L. Bogue on Monday, 12 Mar 2007 10:05 | 0 Comments | Professional

If you’ve been working with workflows for a while you’ve seen the “Failed on Start” and “Error Occurred” statuses that happen if you mismatch the assembly information or leak an exception back to the workflow foundation, respectively.  However, I found a new behavior.  If you create a workflow that requires a content type through a feature and that feature doesn’t deploy the content type correctly then you won’t see anything when you start the workflow.

When I say anything, I mean it.  You won’t see a status column for the workflow added.  You won’t see a workflow history.  You won’t be able to tell that SharePoint took the command.  However, if you explore the ULS logs you’ll see an error indicating that the content type for the workflow is missing.

When you’re developing it might be helpful to keep the ULS logs handy.

Comments

Leave your own comment

Name

Url

Email

Comments