Activity Forums Salesforce® Discussions Is it possible to apply DML in beforeUpdate trigger in Salesforce?

  • Is it possible to apply DML in beforeUpdate trigger in Salesforce?

    Posted by Aditya on February 3, 2021 at 8:11 am

    Is it possible to apply DML in beforeUpdate trigger in Salesforce on same Record?

    Anjali replied 4 years ago 2 Members · 1 Reply
  • 1 Reply
  • Anjali

    Member
    February 3, 2021 at 1:49 pm

    We can use DML in before trigger but for different sobject, it depends upon your logic, if performed on same sobject then it will cause problem of recursion.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos

Salesforce Integration Tutorial | Integrate Salesforce with Apps

Video in

This "𝐒𝐚𝐥𝐞𝐬𝐟𝐨𝐫𝐜𝐞 𝐈𝐧𝐭𝐞𝐠𝐫𝐚𝐭𝐢𝐨𝐧 𝐓𝐮𝐭𝐨𝐫𝐢𝐚𝐥" video by Edureka will help you understand what is Salesforce integration in detail. It will also address the various Salesforce integration…