• #21149
    Forcetalks

    any batch apex scenarios in Salesforce?

    any batch apex scenarios?

     

    #21630
    Salesforce | Radhakrishna Radhakrishna #805
    Forcetalks

    Hello Uppada kishore,

    We use batch apex for bulk processing. Let’s say you want to update thousands to accounts on a regular basis or (even if just one time) and real time update is not a MUST HAVE requirement. You know how you are bound by governor limits for all the retrievals , updates , inserts.

    Batch class has much wider governor limits . Its an async operation and you can run a nightliy job and process all these records without hitting limits.

    Examples :
    I used batch class for a scenario where I had to send email to all contract owners 15 days before payment due date. There were thousands of contracts and at one time there could be many contract owners meeting this criteria. Also, apart from sending email, I had to update a flag on contract. So, I schedules a daily nightly batch job for this.

    #58954
    Forcetalks

    Hello Radhakrishna,

    can you please post the solution to that example which you have given above?

    • This reply was modified 4 months, 2 weeks ago by  Lalit Mittal.
Viewing 3 posts - 1 through 3 (of 3 total)

Please to reply to this topic.

CONTACT US

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

Sending

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

or    

Forgot your details?