Activity Forums Salesforce® Discussions Skip trigger while I insert or update my custom object record?

  • Utsav

    Member
    April 14, 2016 at 8:49 am

    If it is trigger then it will fire automatically whenever record is inserted or being updated until it has been deactivated. 😉

    But what i can do here is skip my logic of trigger by checking certain conditions so that it doesnt affect any data of salesforce database

    Hope i make sense. 🙂

  • Naman

    Member
    April 14, 2016 at 8:53 am

    Yeah, i know that will fire on insert and update call. But i want to skip it, is any way to do it??

  • shafali

    Member
    April 14, 2016 at 9:00 am

    If the 'skip' has to be done on the conditional basis, on the very same conditions you can introduce a dummy checkbox field that is not visible to anyone and let the trigger bypass the record if the checkbox is checked or true.

  • Naman

    Member
    April 14, 2016 at 9:08 am

    apart from that without using any checkbox and custom settings. ?

Log In to reply.

Popular Salesforce Blogs