Activity Forums Salesforce® Discussions What is the purpose of BATCH APEX in Salesforce?

  • Ajit

    Member
    September 29, 2016 at 1:49 pm

    Hi Naveen,

    When we have to Update or Insert  bulkdata in salesforce or we have to make web services callouts then we use the batch apex.

    The main difference between apex and batch classes are as follows :

    1. Batch class have increased governor limits then apex classes.
    2. Batch have  three methods that are mandatory (Start, Execute and finish) but apex class has no boundation of methods.
    3. Batch classes can be scheduled.
  • NAVEEN

    Member
    October 1, 2016 at 5:20 am

    Thank you Ajit Kumar,

    U said "When we have to Update or Insert bulkdata in salesforce or we have to make web services callouts then we use the batch apex."

    Here Bulkdata means... How much?  We can Process bulkdata on Apex class ... So  what are The Batch class have increased governor limits then apex classes?

    Could give Brief Explanation?

  • Ajit

    Member
    October 3, 2016 at 6:11 am

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos