Sharing the experience search

Search sharing-the-experience.blogspot.com

Thursday, June 17, 2010

Sharepoint code based workflow: OnTaskCreated error

After starting a workflow that uses OnTaskCreated you receive an error message:

Engine RunWorkflow: System.Workflow.Activities.EventDeliveryFailedException: Event "OnTaskCreated" on interface type "Microsoft.SharePoint.Workflow.ITaskService" for instance id "" cannot be delivered. ---> System.NullReferenceException: Object reference not set to an instance of an object. 

Huh, seems familiar? The only suggestion that Microsoft is making: do not use this event.

 After you start a workflow on a server that is running SharePoint Services 3.0, you receive an error message that states an error has occurred in the workflow

No comments:

Post a Comment