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 :
Small and medium business | Business Central, N...
Suggested answer

Business Central Job Queue stops on error and doesn't restart

(0) ShareShare
ReportReport
Posted on by 35

Hi all

I have a job queue process that uploads EDI Sales Orders. For some reason it gets deadlocks on the the sales line, and the job stops with an error status. I need this to re-try, but it doesn't

How do I get the job queue to work the same way it did in earlier versions, and retry until the retry count is reached?

I have the same question (0)
  • Teddy Herryanto (That NAV Guy) Profile Picture
    14,209 Super User 2025 Season 2 on at
    RE: Business Central Job Queue stops on error and doesn't restart

    There is a Maximum No. of Attempts to Run on the job queue.

  • dstove Profile Picture
    35 on at
    RE: Business Central Job Queue stops on error and doesn't restart

    True, but BC 2019 ignores this. The process in question gets deadlocked and terminates. Once it terminates it gets an 'Error' status and doesn't run until you manually go in and re-set the status to 'Ready'. I appreciate that there are times when you don't want something to re-try, in which case you would probably set your maximum run attempts to 1, but when you DO want something to re-try, it should re-set the status to 'Ready' until the specified number of retries is exceeded.

  • Suggested answer
    Olister Rumao Profile Picture
    3,967 on at
    RE: Business Central Job Queue stops on error and doesn't restart

    Hi Dominic,

    This is nit a solution but a workaround.

    You can create a job which runs every 5 mins and in that job you can write the code in TryFunction to set the status of the job to Ready.

    Although this is not full proof method but works well most of the times.

    You can even create a Microsoft Support Case to assist you with this.

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 > Small and medium business | Business Central, NAV, RMS

#1
Sumit Singh Profile Picture

Sumit Singh 2,085

#2
YUN ZHU Profile Picture

YUN ZHU 1,810 Super User 2025 Season 2

#3
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 1,788

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans