out-of.the-box approval workflow stuck in progress randomly with error System.Workflow.Activities.EventDeliveryFailedException: Event "OnTaskChanged"
-
jeudi 21 juillet 2011 20:46
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
Toutes les réponses
-
vendredi 22 juillet 2011 08:31Is this out - of -box workflow from Sharepoint ?
- Modifié AvidSharepointLearner vendredi 22 juillet 2011 10:44
-
vendredi 22 juillet 2011 08:33you can restart the Windows Sharepoint Service Timer job under services and again try if workflows are giving same error.
- Marqué comme réponse Daniel YangMicrosoft Contingent Staff, Moderator lundi 1 août 2011 03:01
- Non marqué comme réponse Mike Walsh FIN vendredi 23 septembre 2011 14:42
-
vendredi 23 septembre 2011 14:27Yes it is
-
vendredi 9 mars 2012 07:50
Same problem. Task is set on Approved but not Done so workflow can't continue processing further...
-
mercredi 10 octobre 2012 09:37
Same problem here and it seems to appear randomly. Sometimes the workflow task approvals start to remain as Approved instead of Complete after being approved.
Did you find any solution?
Regards
-
jeudi 11 octobre 2012 06:17
Have you changed some settings in workflow setting recently ?
like kick off the workflow when new item gets created and any item change and also change the status of the approval workflow.
-
mercredi 17 octobre 2012 11:48
Can it be related with a new deployment from Visual Studio... bur it's strange because during the development a deployed a lot of times the workflow without observe this.
It's happen with existing & new projects. So I don't know how to reset the default behaviour (tasks completed after approval) more than restarting the server.
I tried restarting the Project Server services but nothing changed.
Thank you

