Activity Forums Salesforce® Discussions Is Finish method in Salesforce batch class is called when batch is manually aborted?

  • Tanu

    Member
    September 8, 2016 at 5:04 AM

    Hello Mohit,

    No,The finish method is called after all batches are processed. Use this method to send confirmation emails or execute post-processing operations.

    That means that if at least one batch wasn't executed we will not enter finish() method.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos

How to Learn Salesforce Development | Salesforce learning steps for beginners | Trailhead demo

Video in

In this video, we shared the steps to learn salesforce lightning basics, salesforce apex development, CRM in online for free from scratch very quickly. Learn salesforce…