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
sriram admin 3sriram admin 3 

I need to bypass Validation Rule for custom Object by using custom settings for One of the profile.

Validation Rule is : when Location field is 'Hyd' then contact fields should not be blank.   The above validation should be bypassed by using the custom set
User-added imageUser-added imageUser-added image
The validation rule should work when we select the check box in the (default checked) custom setting field. It should bypass when the default is unchecked. But it is bypassing for both checked and uncheked checkboxe in custom setting custom field. 
VinayVinay (Salesforce Developers) 
Can you try below.
AND(ISPICKVAL(Location_Name__c,"Hyd"),
ISBLANK(Contact_Number__c), NOT($Setup.org__Exception__c.ByPassValidation__c))

Please mark as Best Answer if above information was helpful.

Thanks,