Activity Forums Salesforce® Discussions How to avoid trigger recursion in Salesforce?

  • How to avoid trigger recursion in Salesforce?

    Posted by Kumar on February 2, 2017 at 3:21 pm

    Hi all,

    How to avoid trigger recursion in Salesforce?

    Thanks

    sushant replied 8 years ago 2 Members · 1 Reply
  • 1 Reply
  • sushant

    Member
    February 2, 2017 at 3:29 pm

    Hi kumar,

    Use a static boolean variable and check for its value inside the trigger everytime it is executed.

    Thanks

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos