Activity › Forums › Salesforce® Discussions › Can we bypass validation Rules?
-
Can we bypass validation Rules?
Posted by Saurabh on April 27, 2018 at 11:29 AMCan we bypass validation Rules?
Madhuri Joshi replied 4 years, 9 months ago 7 Members · 6 Replies -
6 Replies
-
Hi saurabh,
Validation rules can never be bypassed. If we have upload records and need to bypass validation, then deactivate validation rule and upload records. After upload, again activate validation rule.
Thanks.
- [adinserter block='9']
-
Hi Saurabh,
Below are the steps for allowing certain users to bypass a Validation Rule :
- Create a Custom Permission.
- Create a Permission Set and mark the Custom Permission as active in that set.
- Assign users to the Permission Set who should be able to bypass the Validation Rule.
- a line to the Validation Rule that references the Custom Permission
the line is $Permission.PermissionName = FALSE
-
-
Hi Saurabh,
There is a checkbox named “Bypass Validations” on the user detail page.
If you set it as checked then for the particular user the validation rules will be ignored. See if this information can help you design the solution for your requirement.Thanks.
-
Hi Vidyut,
How do I include the Check box and custom permission to bypass the validation rule?Thank you
-
This reply was modified 4 years, 9 months ago by
Madhuri Joshi.
-
This reply was modified 4 years, 9 months ago by
Log In to reply.
