Skip to content

Setting up the Job Queue Restarter

The Job Queue Restarter monitors selected job queue entries in Business Central and automatically restarts them when errors occur. This allows background processes such as archiving, search indexing, and cleanup to continue.

You can optionally configure email notifications about errors. This requires an email account set as the default.

Set up an email account for notifications

If no suitable email account has been set up, first add an account for sending notifications.

  1. Find and open Email Accounts using the global search.
  2. Click New to add an email account.
  3. Select the desired account type:

    Account type Description Example
    Microsoft 365 Sends from a shared Microsoft 365 mailbox with a common sender address. info@company.com
    Current User Sends from the signed-in Business Central user's personal Microsoft 365 email account. alex.smith@company.com
    SMTP Sends through an SMTP mail server. The server address, port, and authentication must be configured, among other settings. Company mail server
  4. Follow the wizard and enter the required account details.

  5. Complete the wizard.

Set an email account as the default

The desired sender account must be set as the default email account for the Job Queue Restarter to send notifications.

  1. Open Email Accounts using the global search.
  2. Select the desired email account.
  3. On the action bar, click Home and then Set as Default.
  4. Check that a check mark appears in the Default column for the account.

Set up email notifications for job queue entries

You can enable email notifications for each monitored job queue entry. The specified recipient is informed when the entry has been automatically restarted due to an error.

A default email account must be set up first.

  1. Open the CORE – Job Queue Restarter page.
  2. Select the desired job queue entry.
  3. Enable Send Notification.
  4. Enter the recipient's email address in the Notification Email field.

Contents of the notification email

The email identifies the affected job queue entry and states that it failed and was automatically restarted. It also asks the recipient to check the error and resolve it manually if necessary.

Configure the Job Queue Restarter

Add the job queue entries to monitor and automatically restart when errors occur.

  1. Open the product's Administrator Role Center.
  2. Open the CORE – Job Queue Restarter page.
  3. Click + New to add a job queue entry for monitoring.
  4. In the Job Queue ID field, open the selection using … and select the desired entry.
  5. The Object Type to Run, Object ID to Run, Description, and Parameter String fields are filled in automatically based on the selected Job Queue ID. Check these details to ensure that the correct entry is selected.
  6. If required, enable Send Notification to receive an email when an error occurs.
  7. If notifications are enabled, enter the recipient's email address in the Notification Email field.
  8. Repeat the setup for other entries to be monitored.
  9. Close the page to complete the setup.

Check the CORE job queue restarter entry

For automatic restarting to work, the following job queue entry must be set up and have the status Ready:

Object type Object ID Object name Description
Codeunit 5493115 SIM_CORE Job Queue CORE by Simova Job Queue - Restart Job Queues

Open Job Queue Entries using the global search and check the status of this entry. If necessary, set it to Ready.

How automatic restarting works

When a monitored job queue entry encounters an error and displays the status Error, the restarter automatically restarts it.

If email notifications are configured, the specified recipient receives an email stating that the affected entry was automatically restarted.