Skip to main content

Notifications

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)
 
 
  • André Arnaud de Calavon Profile Picture
    294,233 Super User 2025 Season 1 on at
    Workflow is stuck on pending
    Hi Dipesh,
     
    What exact record are you referring to?
  • 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
    294,233 Super User 2025 Season 1 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.
     

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,233 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,982 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans