Skip to main content
Hello I have written a validation rule but want it to work for mutiple record types, can I use the comma as the or in the record type name. Please see below:

 

AND( 

 

$RecordType.DeveloperName = "Direct_Sale,Partner_Sale", 

 

ISPICKVAL(StageName, 'Enquiry'), 

 

Enquiry_Stage_Meet__c = FALSE)

 

If not how would you rewrite the validation rule
4 answers
  1. Dec 4, 2018, 3:38 PM
    AND( 

     

    OR(

     

    $RecordType.DeveloperName = "Direct_Sale",

     

    $RecordType.DeveloperName = "Partner_Sale")

     

    ISPICKVAL(StageName, "Enquiry"), 

     

    Enquiry_Stage_Meet__c = FALSE

     

    )
0/9000