Activity Forums Salesforce® Discussions What is the use of finish method in batch apex class in Salesforce?

  • What is the use of finish method in batch apex class in Salesforce?

    Posted by Pooja on May 6, 2020 at 7:26 AM

    What is the use of finish method in batch apex class in Salesforce?

    Ayush replied 6 years ago 4 Members · 3 Replies
  • 3 Replies
  • Anjali

    Member
    May 6, 2020 at 7:33 AM

    The finish method is called after all batches are processed. This method is used to send confirmation emails or execute post-processing operations.

  • [adinserter block='9']
  • Marziya

    Member
    May 6, 2020 at 1:51 PM

    Hii Pooja,
    Finish method is used to send confirmation emails or execute post-processing operations.

  • Ayush

    Member
    May 7, 2020 at 11:44 AM

    The finish method is called after all batches are processed. used to send emails or execute post-processing operations.

Log In to reply.