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 Lightning layout with scrollable fields November 27, 2022 Retrieve Visualforce pages November 11, 2024 Salesforce Interview Questions for 0-1 year of experience 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.