-
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

Introduction to Salesforce Application Security Basics
What Is AN Application? If you’ve ever used a pc, you’ve used AN application. To outline it, AN application could be a pc software system…

Why Flow with Salesforce Flow?
Earlier when you required a custom feature in your Salesforce installation to support your business process, the only available options were to create a brand…

What is the Future Scope of Salesforce CRM?
Nowadays the adoption of Salesforce CRM is increasing at a tremendous pace. As per reports, Salesforce dominated the worldwide CRM market with a market share…
Popular Salesforce Videos
Salesforce: How To Set Up Einstein Bot
With Einstein Bots, you can keep your service reps free from simple, repetitive tasks and they can spend more time on complex customer cases. If…
Salesforce Financial Services Cloud demo
Today's seamlessly connected customer is raising expectations for organizations to "show them they know them" by providing efficient, informed and integrated experiences no matter which…
Why flow with Salesforce Flow?
Earlier when you required a custom feature in your Salesforce installation to support your business process, the only available options were to create a brand…
Popular Salesforce Infographics

What are the Benefits of Salesforce CPQ Managed Services?
There are a few benefits of Salesforce CPQ Managed Services that can help organizations maximize their growth and profit margins. Prediction of cost - Salesforce…

Salesforce Buy Vs Salesforce Build - An Infographic
Uncover the Process that every business should understand at the time of Salesforce implementation and integration. Salesforce Solution Buying Process Search for Required Solution on…

10 MUST HAVE Qualities Your Salesforce Administrator Should Have
Does your organization have a Salesforce Admin? If you use Salesforce or are in the process of implementing it, the role of Salesforce Admin is…