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