none
out-of.the-box approval workflow stuck in progress randomly with error System.Workflow.Activities.EventDeliveryFailedException: Event "OnTaskChanged"

    Question

  • Hi guys,

    during last week I got this strange behavior on one of my client workflow: after hundreds of succesfull approvals on the same document library, 15 of the ongoing wf got stucked: one of the approvers comlete the task, next task never gets created and the workflow status stays "in progress". Every faulty wf produce the following line on SharePoint ULS:

    07/21/2011 09:17:42.56 w3wp.exe (0x1618) 0x1550 Windows SharePoint Services Workflow Infrastructure 936l High Engine RunWorkflow: System.Workflow.Activities.EventDeliveryFailedException: Event "OnTaskChanged" on interface type "Microsoft.SharePoint.Workflow.ITaskService" for instance id "8ef2257f-8251-4002-b7cc-230769ea0285" cannot be delivered. ---> System.InvalidOperationException: Event Queue operation failed with MessageQueueErrorCode QueueNotFound for queue 'Message Properties Interface Type:Microsoft.SharePoint.Workflow.ITaskService Method Name:OnTaskChanged CorrelationValues: 5cad2dc4-5446-4f87-8539-39fce188a217 '. at System.Workflow.Runtime.WorkflowQueuingService.GetQueue(IComparable queueID) at System.Workflow.Runtime.WorkflowQueuingService.EnqueueEvent(IComparable queueName, Object item) at System.Workflow.Runtime.WorkflowExecutor.EnqueueItem(IComparable queueName, Objec...

    07/21/2011 09:17:42.56* w3wp.exe (0x1618) 0x1550 Windows SharePoint Services Workflow Infrastructure 936l High ...t item, IPendingWork pendingWork, Object workItem) at System.Workflow.Runtime.WorkflowInstance.EnqueueItem(IComparable queueName, Object item, IPendingWork pendingWork, Object workItem) at System.Workflow.Activities.WorkflowMessageEventHandler.EventHandler(Object sender, ExternalDataEventArgs eventArgs) --- End of inner exception stack trace --- at System.Workflow.Activities.WorkflowMessageEventHandler.EventHandler(Object sender, ExternalDataEventArgs eventArgs) at Microsoft.SharePoint.Workflow.SPWinOETaskService.RaiseEvent(SPWinOeWorkflow workflow, SPWorkflowEvent workflowEvent, Object workItem, IPendingWork workHandler) at Microsoft.SharePoint.Workflow.SPWinOeHostServices.Send(SPWinOeWorkflow winoeworkflow, SPWorkflowEvent e) at Microsoft.SharePoint.Workflow.S...07/21/2011 09:17:42.56* w3wp.exe (0x1618) 0x1550 Windows SharePoint Services Workflow Infrastructure 936l High ...PWinOeEngine.RunWorkflow(Guid trackingId, SPWorkflowHostService host, SPWorkflow workflow, Collection`1 events, TimeSpan timeOut).

    Any idea?

    Thanks & Regards,

    Peppe

    jeudi 21 juillet 2011 20:46

Toutes les réponses