I have created Stat machine VS WF. It has 6 different stats two stat has back and forth. It is working fine in DEV environment(Win 2008) but It get stuck in 4-5 stage in Production environment. Currently assumption is because it is giving Due to heavy load, the latest workflow operation has been queued. It will attempt to resume at a later time. after one or two items creating. However same error Due to heavymessage I am getting in my DEV environment but Workflow is totally working fine in DEV.
The workflow Stage is not moving for few minutes when we got this above message in both the environments, then after few minutes...it is going to next level.
The same time we check the ULS logs and find below one most frequent error.
Engine RunWorkflow: System.Workflow.Activities.EventDeliveryFailedException: Event "OnWorkflowItemChanged" on interface type "Microsoft.SharePoint.Workflow.ISharePointService" for instance id "e2664350-24ad-411e-8092-6e81ca5b0af0" cannot be delivered. ---> System.Workflow.Runtime.QueueException: Queue 'Message Properties Interface Type:Microsoft.SharePoint.Workflow.ISharePointService Method Name:OnWorkflowItemChanged CorrelationValues: e2664350-24ad-411e-8092-6e81ca5b0af0 ' is not enabled.
I went through below suggestion from the forum which is not helpful to me at this moment
I tried to find the solution on internet and done as per the suggestion but not worked at all.
- Increase Throttle Size
- Increase Batch Size
- Time Out
- Workflow Timer Interval
Another interesting thing is, I am writing logs when any task created or changed. I am not able to find the task related log(creation or change) in delaying because of Due to heavymessage even after few minutes task changed or created event ran and created new task or changed the task.
I got stuck in this issue since two weeks but there is no any clue or suggestion. I really appreciate any help.
Thanks in advance
Regards,
Pritesh