function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Prabhat Singh 56Prabhat Singh 56 

Why jobs are in apex flex queue in our org?

Helo Team,

Actually in our org no batches are running, they are in apex flex queue.

So can you please let me know why jobs are in apex flex queue in our org???

Thanks
Prabhat
Anilkumar KotaAnilkumar Kota

Hi Prabhat ,

Your issue is somehow weird but I think in your case the limits of batch jobs exceeding in production 
So have a look on these key points : 
1.Maximum number of Batch Apex jobs in the Apex flex queue that are in Holding status : 100
2.Maximum number of Batch Apex jobs queued or active concurrently : 5
3.Maximum number of Batch Apex job start method concurrent executions : 1
5.Maximum number of batch jobs that can be submitted in a running test : 5