Q-assign makes automatic assignments that are scheduled by the QA Control Panel. The purpose of the Q-assign Manager job is to manage scheduling and re-starting of the Queue-able jobs for the Scheduler. These are normal Salesforce scheduled jobs (synchronous) and run every 30 seconds (each one schedules the next one). We see that every time Salesforce does some kind of major platform upgrade/work, e.g. each time they update Salesforce to the next release (3 times per year), an error is encountered.
You might have landed on this page because you received the following email:
Dear x,
Org: XYZ (00D3i000000uxcABCD)
Q-assign detected that the Scheduler Manager job had become stuck. Therefore, Q-assign has automatically re-started the Manager Job. Please check that the Scheduler is running as expected. If any issues are found, please report to support@ortooapps.com
Diagnostic Information
Total manager jobs found: 1
Queued manager jobs found: 1
Acquired manager jobs found: 0
Processing manager jobs found: 0
Valid manager jobs found: 0
Dormant Job Count: 1
- Job Id: CronTrigger:{Id=08e3i00000tF3z7AAC, State=WAITING, NextFireTime=2021-08-13 17:57:37} Next Fire Time: 2021-08-13 17:57:37 Current Time2021-08-13 18:00:01
Regards,
Ortoo Support
There is a safety mechanism introduced in Q-assign that detects the stuck Manager job and restarts it immediately to minimize any potential impact. This happens when a manager is scheduled and looks healthy, but it has gone X minutes past the time it should have run, but it didn't run (due to too many queued jobs at Salesforce's end). We have added an enhancement in Q-assign to automatically detect and recover any stuck job. Whenever that happens, an alert is sent to you.
You can confirm this by going to the QA Control Panel tab and checking that the scheduler is working fine. The Service Status for Global Scheduler Master Switch should be set to "Running" and the acquired time for the manager job should be accurate, as shown below:
be
If you are still curious and want to investigate it further, you can go to Setup - Apex Jobs and check the status of the Q-assign Manager job (named as AssignmentScheduler) there. It should be queued after every 40 seconds.
Therefore, as mentioned above, the email alert is just to keep you updated with the situation. It will not impact Q-assign work anyway.
In case you are receiving an excessive number of email alerts. Please feel free to report it at support@ortooapps.com and we will investigate it further.
Please contact us at, support@ortooapps.com for any questions.