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

Announcements

News and Announcements icon
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
    306,854 Super User 2026 Season 2 on at
    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
    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
    306,854 Super User 2026 Season 2 on at
    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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

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

#1
Martin Dráb Profile Picture

Martin Dráb 330 Most Valuable Professional

#2
CU10121822-0 Profile Picture

CU10121822-0 310

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 242 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans