Wednesday, December 4, 2013

Bypass Triggers in Salesforce

  • Create custom setting as shown below.
  • Fields
    • Name – Text field to store Trigger name.
    • User List – Text field to store Users Name like ankur.iteng21@gmail.com.
    • Block Trigger - Checkbox to control specified trigger execution.
      • True - It won’t execute trigger for specified Block User.
      • False - It will execute trigger for specified Block User
  • Create records as shown below.

  • Modify your trigger code. Add condition in the begining of the trigger.

No comments:

Post a Comment