This post is part of the New Functionality In Microsoft Dynamics 365 Business Central 2024 Wave 2 series in which I am taking a look at the new functionality introduced in Microsoft Dynamics 365 Business Central 2024 Wave 2.
The 5th of the new functionality in the Governance and administration section is get notified about issues with job queue background processing.
Sometimes tasks, reports, or batch processes can take a long time to complete. To keep people productive in the meantime, companies often use Business Central’s ability to run processes in the background. If something goes wrong and an important background process stops, or isn’t scheduled for some reason, being notified of the issue can help you react quickly to resolve it.
Enabled for: Users by admins, makers, or analysts
Public Preview: –
General Availability: Oct 2024
Feature Details
To be notified when there are issues with job queue processing, you can subscribe to external business events that are emitted when:
- Job queue processing fails after a number of retries.
- Job queue processing fails to schedule.
The When a business event occurs trigger in a Power Automate flow can catch external business events when they’re emitted. To give you flexibility, you can choose from a couple of built-in Power Automate templates that Microsoft are shipping with this feature.
You can also create a new Power Automate flow to set up a notification mechanism that’s best for your business. For example:
- Notify the user whose credentials the job queue uses to run.
- Notify the notification recipients you set up in the Business Central admin center.
Additional job queue APIs allow such automations to react to specific job queue issues by restarting or rescheduling the job queue.
My Opinion
I’m surprised there isn’t something like this baked into Business Central, as it seems to be fairly basic. However, it’s good to see it made available and interesting that Microsoft have chosen to do it through Power Automate.