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 :
Microsoft Dynamics AX (Archived)

Batch Job stuck in executing status but dooesn't execute class logic

(0) ShareShare
ReportReport
Posted on by

Hi all,
I have created a batch job executing class wich is implemented to insert a record in table every two minutes (just for testing), the job is created fine and goes from waiting to executing status but stuck there and don't execute any logic.
I have tried to run standard batch jobs through running reccurent reports, same problem.
I have found solution for batch jobs not executing but my case is particular because this one goes to executing status.
Has anyone faced this case ?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Ajit Profile Picture
    8,755 on at
    RE: Batch Job stuck in executing status but dooesn't execute class logic

    Is that class inserting record when you are running manually? Make sure there shouldn't be any deadlock.

  • Suggested answer
    Vilmos Kintera Profile Picture
    46,149 on at
    RE: Batch Job stuck in executing status but dooesn't execute class logic

    The job might show Executing status, while not necessarily all tasks are running within.

    What do you see in the Batch Tasks, does the job have any tasks with executing status? Check if the tasks' batch group is listed for the batch server.

    You might also want to try debugging batch executing within Visual Studio.

    Also I have posted an article about troubleshooting batch jobs have a read:

    [View:https://www.daxrunbase.com/2017/07/02/troubleshooting-batch-jobs-in-ax/:750:50]

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Community Member Profile Picture

Community Member 4

#2
Nayyar Siddiqi Profile Picture

Nayyar Siddiqi 2

#2
Guy Terry Profile Picture

Guy Terry 2 Moderator

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans