Activity Forums Salesforce® Discussions Can we fire triggers in batch execute methods?

  • Ravi

    Member
    July 12, 2016 at 4:15 am

    Hi Tanu,

    Only way to fire a trigger by doing some DML operation.You perform a DML operation on sObjects, and the trigger will automatically fire. If your batch apex is performing DML (insert, update, delete, undelete) and you have an active trigger in the system for one of those events, the trigger will fire.

    • This reply was modified 7 years, 9 months ago by  Ravi.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos