web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Workflow is stuck on pending

(0) ShareShare
ReportReport
Posted on by 32
HI guys,
 
When I try to submit the PO the workflow is get stuck on Pending . and I check the batch job history I found the error show in 2nd SS.
 
error - Microsoft.Dynamics.Ax.Xpp.ErrorException: Exception of type 'Microsoft.Dynamics.Ax.Xpp.ErrorException' was thrown.
   at Dynamics.Ax.Application.SysWorkflow.internalFault(WorkflowContext _workflowContext, String _user, String _faultMessage) in SysWorkflow.internalFault.xpp:line 42
   at Dynamics.Ax.Application.SysWorkflow.fault(WorkflowContext _workflowContext, String _user, String _faultMessage) in SysWorkflow.fault.xpp:line 32
   at Dynamics.Ax.Application.SysWorkflowQueue.dispatch(Guid _affinity) in SysWorkflowQueue.dispatch.xpp:line 181
   at Dynamics.Ax.Application.SysWorkflowQueueTask.Run() in SysWorkflowQueueTask.run.xpp:line 11
   at Dynamics.Ax.Application.BatchRun.runJobStaticCode(Int64 batchId) in BatchRun.runJobStaticCode.xpp:line 54
   at Dynamics.Ax.Application.BatchRun.runJobStatic(Int64 batchId) in BatchRun.runJobStatic.xpp:line 13
   at BatchRun::runJobStatic(Object[] )
   at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeStaticCall(Type type, String MethodName, Object[] parameters)
   at BatchIL.taskThreadEntry(Object threadArg)
 
 
I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    299,509 Super User 2025 Season 2 on at
    Workflow is stuck on pending
    Hi Dipesh,
     
    I have seen such issue before where data was manually deleted in a production environment, trying to remove workflow messages for some reason. Do you know if some attempts were done in this environment?
     
    You can check for valid settings and check if the data is stored correctly. My last troubleshooting around AX2012 workflows is a long time ago. You might check if there are correct records in all related tables. Start with checking the contents of the table SysWorkflowMessageTable and WorkflowTrackingStatusTable. These are used for the workflow instance.
     
  • CU21081026-5 Profile Picture
    32 on at
    Workflow is stuck on pending
    Hi Andre,
     
    What if someone delete the record from the production How can I solve the error?
     
    thanks you
     
  • André Arnaud de Calavon Profile Picture
    299,509 Super User 2025 Season 2 on at
    Workflow is stuck on pending
    Hi Dipesh,
     
    What exact record are you referring to?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 1,850

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 795 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 519 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans