-
What Is The Difference Between Queues And Apex Flex Queues?
Queues and Apex Flex Queues in Salesforce are related to how asynchronous Apex jobs are handled, but they serve different functions:
- Queues: In Salesforce, queues help in managing the sharing of workload. Queues are typically used to distribute cases, leads, or other objects to a group of users who can then take ownership of the records in the queue. It provides a flexible way to assign work to a group of users who can pick the records from the queue based on their workload and availability. This doesn't relate directly to Apex job execution.
- Apex Flex Queues: Apex Flex Queue allows you to submit up to 100 batch jobs for execution. Any jobs that are submitted for execution are in holding status and are placed into the Apex Flex Queue. Up to 100 batch jobs can be in the holding status. When system resources become available, the system picks up the next job from the top of the Apex Flex Queue and moves it to the batch job queue. The order of jobs in the Apex Flex Queue is based on when they're submitted—the first job that was submitted is the first to be executed.
So, Queues are used to manage workload among users, whereas Apex Flex Queues are used to manage the execution of asynchronous Apex jobs.
Log In to reply.
Popular Salesforce Blogs

How to Effectively Manage Ideas on Salesforce Experience Cloud
The idea-creation process is a journey with many twists and turns. Ideas can be born in a flash, then bounce around for days or weeks…

AWS Cloud Basics | Salesforce Trailhead Guide
In this blog, we will be taking a look at the topic of AWS Cloud. As we all know Cloud computing is the on-demand provision…

Learn All About Batch Apex Chaining in Salesforce
Batch apex enables the user to do a single job by breaking it into multiple chunks which are processed separately. Batch apex is useful when…
Popular Salesforce Videos
Using Lambdas to Overcome Salesforce Governor Limits
Salesforce is a great CRM product, but it has some limitations that can prove troublesome depending on the situation. Since each org has to share…
Salesforce Multi-factor Authentication/Two-factor Authentication End User Training Video
Watch this video to learn all about Salesforce Multi-factor Authentication/Two-factor Authentication. This is a training video. Watch and learn.
Service Resources and Territories in Salesforce | Salesforce Webinar
Ensure seamless field service operations by setting up Service Resources and Territories in Salesforce Field Service the right way. Organize and manage field service operations…
Popular Salesforce Infographics

Top 12 Salesforce Trends in 2024
Embark on a journey through the future of Salesforce in 2024 and beyond. Uncover the latest trends shaping CRM excellence, providing crucial insights to navigate…

Sales Productivity: Tips to Overcome Productivity Challenges
Growing sales is the cornerstone of business success. Whether you're a startup or an established enterprise, the objective remains the same: Increase Revenue, Expand your…

DreamOle Event - Salesforce
A group of volunteers within the Spanish Salesforce Trailblazer Community. Their Mission is to put together a Community Conference that would help the Spanish Community…