function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
AbAb 

By passing trigger for certain users

Hello,

how can we by pass the trigger for certain users ?
Best Answer chosen by Ab
Rupali PophaliyaRupali Pophaliya
You can create Hierarchical Custom Setting. There you can basically set values at the User level, Profile level, and the Organization as a whole. When configured, the custom settings will first to look if there had been any values set at the User level, otherwise will move up the hierarchy to Profile, then Organization. Refer this article for more details: ​http://www.salesforcegeneral.com/salesforce-articles/salesforce-bypass-rules-and-triggers.html (http://www.salesforcegeneral.com/salesforce-articles/salesforce-bypass-rules-and-triggers.html)