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 Retrieve LWC using package.xml November 11, 2024 Way’s to load image from static resources to VF page May 3, 2022 Tavant Salesforce Interview Questions December 17, 2024 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.