Workflow batch jobs - AX 2012 - Failed to find workflow error

 The other days I was troubleshooting a workflow installation that failed to run and opening the Batch job  -> Batch Job History -> Log i saw the messages: Failed to find workflow; SysWorkflow-fault; SysWorkflow-internalFault.
 I knew the tables for the workflow and what I needed to check (a rogue record in the message table) but first searched a little bit in somebody already mentioned the values that the records should have in that table.

And found the required post on msdn blogs: http://blogs.msdn.com/b/axsupport/archive/2013/04/24/dynamics-ax-2012-workflow-receives-quot-failed-to-find-workflow-quot-error.aspx



Just perform a search on SysWorkflowMessageTable looking for records that have MessageLifeCycleState equal to 1 (which means item queued) that do not have the RootCorrelationId in the SysWorkflowTable and set them to 2.

No comments:

Post a Comment