Notifications
Announcements
No record found.
I have an orphan batch job executing and cannot figure out how to kill it. Any suggestions?
*This post is locked for comments
Hi, go to basic module in inquires select batch jobs and delete the respective batch job.
Regards
Tried that, but I get an Infolog stating
Goto Basic -> Batch Job
Select the particular Job and Select the Functions -> Change Status
Select the Cancelling.
Once Job is cancelled (Confirm by Batch Job History in status field. It will take some time to Cancel)
Again goto Functions -> Change Status
Select withhold
And then you can delete the job.
Change status button is disabled on jobs in executing state
I have the same problem in the Contoso database; can't run the CU7 update jobs becuse of a posting that is executing somewhere on the Microsoft campus two years ago.
Can't delete it, can't change the status, can't do anything to it.
Try this in the MicrosoftDynamicsAX database What you could try, since this is your sandbox/playground AOS (afaik), is to stop the AOS, head over to the DB and update the table Batch by running this query;
UPDATE BATCH SET STATUS = 0 WHERE STATUS > 6,
then BatchJob with
UPDATE BATCHJOB SET STATUS = 0 WHERE STATUS > 6.
Then start the AOS and continue from there. There could be something wrong with the jobs themself. You should also just open the table browser (or SQL Query the tables) and see if the AOSID is correct for the jobs in question.
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 4 Most Valuable Professional
Priya_K 4
MyDynamicsNAV 2