Hello
I am having a strange issue with my purchase requisition workflow. I continuously get the following error in event viewer under the "Microsoft Dynamics AX Workflow" group.
Exception thrown in SysWorkflowEventDispatcher-onAcknowledgeElement SysWorkflowEventDispatcher-raiseElementAcknowledgementEvent : Web service failed: workflow id WFIXXXX ClrObject static method invocation error.
I looked lot on net to find out the exact reason and resolution but didn't get much. I have already re-installed my workflow component and compile the whole AOT code but this also didn't fix this issue.
Strange thing is this, error occurs only when I have defined some condition in my approval steps, if I submit a purchase requisition with no conditions defined for approval steps then workflow works fine and complete without any error logged in event viewer, however when I defined any condition e.g. PurcahseReqTable.ApprovalAmount >= 2000 then I am facing the above mentioned error in event viewer and my workflow kept in pending status.
So bit confused is there anything wrong with my purchase requisition workflow configuration with condition or a bug in dynamics ax .
My environment configuration is
Microsoft Dynamics AX 2009 + Sp 1+ Roll UP 3, also i have installed the all individual hot fixes released for workflows in roll up 4, 5, 6, 7 but still didn't work.
My workflow batch interval is 3 min. I already tried it with 2 and 5 min but still error.
So I will be great if anyone can help me to fix this error.
Thanks & Regards
Surender