Introduction
Managing job queues in Dynamics 365 Business Central can be seamless, until one fails. Job queue failures can impact automated processes, reporting tasks, and system integrations. The earlier you’re notified, the faster you can act.
In this blog, we'll walk you through a Power Automate flow that automatically sends an email alert via Outlook when a job queue failure occurs in Business Central. This proactive approach minimizes downtime and ensures that the right people are informed instantly.
How to Automatically Notify in Outlook
Step 1. Trigger: When a Job Queue Failed Event Occurs (V3)
The Power Automate flow starts with the trigger “When a job queue failed event occurs (V3)”. This step listens for failure events within Business Central’s job queue system. It uses the Business Central connector to hook into the system and monitor the status of scheduled jobs. The moment a failure is logged, the flow is triggered automatically.

Parameters Section
- Environment: This dropdown lets you choose the Business Central environment where the job queues are running. In this case, the selected environment is ENV_BC_STW_DEMO_SANDBOX. That means the trigger will only listen for failures occurring in the sandbox environment of your Business Central system.
- Event: This specifies the type of event the trigger should listen for. Here, it's set to Job queue task failed - 1.0 (Microsoft), which means it will fire only when a scheduled job queue task fails.
- Advanced Parameters: This section is usually collapsed by default but may include filters or additional settings. In this case, it’s showing 1 option but doesn’t need to be adjusted unless you're filtering further.
- Company (optional): You can optionally specify the name of the Business Central company (e.g., “CRONUS India Ltd.”) if your environment has multiple companies. Leaving this field blank means it will trigger on any company within the selected environment.
Step 2. Action: Find the Job Queue Entry
Once the failure is detected, this action fetches the corresponding job queue entry, pulling relevant metadata such as job name, status, and related IDs.

This screen shows the configuration for the “Find the job queue entry” step in your Power Automate flow. This step comes right after the trigger "When a job queue failed event occurs (V3)" and is responsible for fetching detailed information about the failed job queue entry from Dynamics 365 Business Central.
Parameters
- Environment: This field specifies the Business Central environment where the job queue failure occurred. It is dynamically filled using the value from the trigger, so the action will execute in the same environment where the job failure was detected. In your case, it appears to be something like ENV_BC_STW_DEMO_SANDBOX.
- Company: This is the name of the Business Central company (like CRONUS India Ltd.) where the job is registered. Again, this value is pulled dynamically from the trigger output to ensure the flow uses the correct company context.
- API Category: This specifies the version of the Business Central API you're using. It is set to v2.0, which is the most commonly used and stable API version as of now.
- Table Name: This tells Power Automate which Business Central API table to query. It's set to jobQueueEntries, which corresponds to the list of job queue tasks defined in your Business Central environment. This is where all job-related data—like job name, status, and frequency—resides.
- Row ID: This is a dynamic expression—most likely something like body('JobQueueFailedTrigger')?['JobQueueEntryId'] - that uniquely identifies the job queue entry that failed. Power Automate will use this ID to pull just the record for the failed job queue, rather than fetching the whole table.




Join the conversation! Your thoughts help the community grow.