Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Suggested answer

Batch job stuck in execution state in Ax 2012 R3

Posted on by 15

Hi,

I am facing an issue in AX 2012 R3 , that workflow suddenly stopped in Production environment as it was working fine before. I checked the batch jobs and found that some jobs were stuck in execution state. Once I cancelled the batch job which are stuck in execution state the workflow works fine. That batch job run on daily basis, but we cannot cancel that job every time, Once this job stuck in execution state then no other job executed. I have performed the following activities to overcome this issue but no luck. 

1. Checked ax server configuration 

2. checked batch server

3. Check batch group assign to batch server

4. Restart AOS and Sql services

5. Check Deadlock from Sql Activity monitor tool, but there was no deadlock.

Here is the description of the batch job which stuck in execution state "Create a scheduled task that will execute the batch transfer of subledger journal entries." .

I also go through the class which was using behind this job. But I didn't find anything or any custom code there. Its a standard class named "ProdReceiptFinalizationController"

Any idea how to solve this issue?

  • Muhammad_Zaki Profile Picture
    Muhammad_Zaki 15 on at
    RE: Batch job stuck in execution state in Ax 2012 R3

    Hi Ramit,

    Thanks for your response.

    How can I stop this batch job? Here is the batch transfer rule in GL Parameters.

    53234.png

    Thanks

  • Suggested answer
    Ramit Paul Profile Picture
    Ramit Paul 18,383 Super User on at
    RE: Batch job stuck in execution state in Ax 2012 R3

    Hi,

    Why do you need this batch? What is your batch transfer rule in gl parameter?

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,696 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,490 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans