Guest User

Untitled

a guest
Apr 20th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. if(!SomeCustomSetting__c.getInstance().ActivateTheTrigger__c) {
  2. System.debug('Bypassing trigger due to custom setting');
  3. return;
  4. }
  5.  
  6. // Rest of the trigger body ...
  7.  
  8. }
Add Comment
Please, Sign In to add comment