Link to home
Create AccountLog in
Avatar of InformationSystems
InformationSystems

asked on

Custom Workflow Causes Exception (workflow task content type not found)

I used SharePoint Designer 2007 to create a custom workflow for a list on one of our sites.  The workflow is very straight-forward: it executes automatically when an item is created, and is set to send an email if a particular drop-down is set to "yes".  When an item is added to the list with the field set to yes, no email is sent.  Looking at the logs, an exception is being thrown with the following message: "The requested workflow task content type was not found on the SPWeb."


The odd thing is that we have workflows that are almost identical setup on lists on a different site (same site collection) that work flawlessly.  I have looked at the setups for both sites and as far as I can tell they are setup identical.


Any takers?
Avatar of Rafael I
Rafael I
Flag of Japan image

If you copied the workflows, i would make sure the workflows correctly correspond with the variables that they refer to in their respective lists.  

Maybe the site with the working list has a Task list that the site with the non-working list doesn't have.  Or, if they both have a Task list, it might have different content types/variables.

If the lists are "virtually" the same, I would look into the other lists that probably weren't copied exactly the same, if at all.
Avatar of InformationSystems
InformationSystems

ASKER

Nope.  Didn't copy the workflows.  I used SharePoint Developer to create the non-working one from scratch.  Not sure what was used to create the working one, but I opened it in SPD and it is essentially identical (with regards to logic) as the non-working workflow.  Also the Task lists for both sites are identical with regard to content types and variables.
ASKER CERTIFIED SOLUTION
Avatar of InformationSystems
InformationSystems

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
This solved our problem, so hopefully it solves someone else's.