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

  • How to avoid trigger recursion in Salesforce?

  • Kumar

    Member
    February 2, 2017 at 3:21 pm

    Hi all,

    How to avoid trigger recursion in Salesforce?

    Thanks

  • 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

Viewing 1 - 2 of 2 posts

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos