Activity Forums Salesforce® Discussions how to call batch apex from trigger?

  • Shweta

    Member
    December 14, 2020 at 3:19 pm

    We can call batch apex from the trigger by using this:
    BatchClassName batchObj = new BatchClassName();
    Database.executebatch(batchObj, 200);

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos