Skip to main content
1 of 2
CPS
  • 365
  • 3
  • 9
  • 25

Help with this Validation Rule

I have these particular VR and I needed to open new question because has a specific problems.

There are both (in Account object):

  1. Check that a field is not empty in an specific State:

AND(

ISPICKVAL(Status__c , "Incubator"),

ISBLANK(Field01__c))

  1. 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?

CPS
  • 365
  • 3
  • 9
  • 25