I have these particular VR and I needed to open new question because has a specific problems.
There are both (in Account object):
- Check that a field is not empty in an specific State:
AND(
ISPICKVAL(Status__c , "Incubator"),
ISBLANK(Field01__c))
AND( ISPICKVAL(Status__c , "Incubator"), ISBLANK(Field01__c))
- Check that user has special permissions:
AND(!$Setup.Bypass__c.ValidationRule__c, !$Permission.IntegrationPermissions, $User.Username != $Label.PERMISSION_USER)
So, I would like to have both VR in just one, checking that IF ONE OF THESE TWO CASES happens. Is like:
OR( VALIDATION RULE 1, VALIDATION RULE 2)
I tried but I had sintax mistakes. Any idea?