How Queue Auto-Restart Works
The Advanced Queues auto-restart functionality ensures your Business Central job queues operate continuously without manual intervention. This feature is designed to keep your business processes running smoothly even when temporary errors occur.
Main Auto-Restart Feature
When you enable Auto Restart on Error for a job queue:
- If the queue encounters an error and stops, the system automatically detects this problem.
- The system schedules the queue to run again:
- For recurring jobs: At the next scheduled time based on your recurrence settings
- For non-recurring jobs: On the next business day
- The queue status is automatically changed back to "Ready" so it can run again.
- The system logs this restart activity for monitoring purposes.
Additional Protection Layer
Business Central sometimes undergoes system updates that might interfere with the main restart mechanism. To ensure maximum reliability, the Advanced Queues module includes an additional protection layer:
- A special monitoring process checks every 5 minutes for any job queues that:
- Have Auto Restart enabled
- Failed with an error
- Were supposed to run more than 5 minutes ago
- Are not currently scheduled
- When it finds such queues, it automatically resets them to "Ready" status.
- This ensures your queues keep running even during system maintenance periods.
Email Notifications
Even with automatic restarts, you might want to know when job queues encounter problems. The Advanced Queues module can send email notifications. EmailNotifications
Benefits for Your Business
- No More Constant Monitoring: You don't need to regularly check your job queues.
- Minimal Disruption: Business processes continue running with minimal downtime.
- Maximum Reliability: The two-layer protection ensures your processes keep running even during system updates.
This Advanced Queues module gives you peace of mind that your Business Central automated processes will keep running reliably with minimal manual intervention.