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 Create specific folder programmatically in android using Java September 27, 2022 Apex method to delete record December 18, 2024 Identify if a Salesforce Object is Custom or Standard March 8, 2023 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.