How to bypass validation rule using custom setting Post author:Swapnil Jaiswal Post published:April 19, 2025 Post category:Blog / Salesforce Post comments:0 Comments Topic: Bypass salesforce validation rule for given users using hierarchical custom setting. Scenario: On opportunity we have validation which force to add amount greater then $500, lets see how to bypass this for specific or all users. Solution: Create new hierarchical custom setting with check box field and use the field value to bypass you validation rule.Note: If the default organization-level value of your checkbox field is set to true, the validation will be bypassed for all users.. See in action This question was recently asked during a Salesforce Developer interview at PwC India. Salesforce developer interview questions Salesforce 35+ company wise interview questions. You Might Also Like Star patterns set 1 October 22, 2022 Retrieve Custom/Standard objects with package.xml November 11, 2024 16 Must Know Salesforce Security Interview Questions for Intermediates April 6, 2025 Leave a Reply Cancel replyCommentEnter your name or username to comment Enter your email address to comment Enter your website URL (optional) Save my name, email, and website in this browser for the next time I comment.