Skip to main content

Notifications

Small and medium business | Business Central, N...
Suggested answer

Job entry in job queue does not start after error or exception

Posted on by 65

I have created a job to run code unit and i have set these configurations.

Image

But when i am generating the exception in the code intentionally to test if it runs again with 3 attempts, it doesn't re-run again on exception. In fact i have set the Re-Run delay seconds and Retry attempts as well.

Please guide me if i am missing any step in job configuration.

Categories:
  • Dev-Master Profile Picture
    Dev-Master 65 on at
    RE: Job entry in job queue does not start after error or exception

    I had tried a lot of things on the internet seems like it doesn't start if error or exception occurs and it's status remain with In Process. I am struggling hard to fix this issue i have created a sample code unit in which i am intentionally generating the exception so that i can see if it retries 3 maximum number of attempts after the every 60 seconds. But it doesn't start once exception occurs and status remain as In Process

  • Suggested answer
    DAnny3211 Profile Picture
    DAnny3211 9,272 Super User 2024 Season 1 on at
    RE: Job entry in job queue does not start after error or exception

    hi

    look documentation

    learn.microsoft.com/.../devenv-job-queue

    DAniele

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans