• #11206
    Salesforce | Himanshu Himanshu #347

    What are limits of batch class when we use Queuable Salesforce Apex?

    What are limits of batch class when we use Queuable Salesforce Apex?


    Salesforce | Surbhi Surbhi #353

    Hi Himanshu,

    Below are the limits of queueable apex:

    1. The execution of a queued job count as one against the shared limit for asynchronous Apex method executions.
    2. You can add up to 50 jobs to the queue with System.enqueueJob in a single transaction.
    3. No limit is enforced on the depth of chained jobs, which means that you can chain one job to another job and repeat this process.




    Queueable Interface methods and Future methods are Asynchronous Apex Processes that add jobs to the job queue and each job runs when system resources become available, so it doesn’t delay the execution of the main Apex logic. They also share a benefit of having some higher governor limits than synchronous Apex, such as heap size limits (12 MB),  number of SOQL queries issued (200) and Maximum CPU time on the Salesforce servers (60k ms). But the Queueable interface methods are a step up from the future methods because they also come with these additional benefits (according to Salesforce release notes):


Viewing 3 posts - 1 through 3 (of 3 total)

Please to reply to this topic.


We're not around right now. But you can send us an email and we'll get back to you, asap.


About Us

Forcetalks is a Salesforce collaboration platform for coders & developers, geeks & nerds, consultants & business heads, admins & architects, managers & marketers and of course the business owners. A community where you can learn from, where you can contribute to. For you. For Salesforce. Read More...

Copyright 2019 Forcetalks. All Right Reserved.

Log in with your credentials


Forgot your details?