web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)
Answered

Job queue : retry after error

(0) ShareShare
ReportReport
Posted on by 237

Hi

   In Nav 2018, i have a job queue that fail sometimes

The error is ok (it's because of some lockted table), so i want the job queue to retry

I have set "Maximum No. of Attempts to Run" to 10, but it seems to have no effect at all ...

But the job queue entry stay with the status 'Error', and i must set it to 'Ready' manually.

I known there are some workaround (like https://robertostefanettinavblog.com/2017/04/02/how-to-restart-a-job-in-error-or-frozen-completed-status/), but i want to avoid them ...

There is something to do for "Maximum No. of Attempts to Run" to work ?

*This post is locked for comments

I have the same question (0)
  • Verified answer
    I Gusti Made Ari Profile Picture
    3,600 on at

    "The Maximum No. of Attempts to Run field"  is used to set up how many times the program tries to run a task.

    This is useful for situations where a task can be unresponsive at times (for example, because it depends on some external resource that is not always

    available) .

    the "Error" status  , the job queue is assumed success but there is error from process that is run by job queue.

    In codeunit 472, function IsReadyToStart, you can change to also include "Error" , in this case error job queue will be picked up as well without you manually change the status to ready.

    But normally you want to solve the error first before running the job queue again..

    gbr_5F00_99.PNG

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans