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 respuestas
  1. 4 dic 2018, 15:38
    AND( 

     

    OR(

     

    $RecordType.DeveloperName = "Direct_Sale",

     

    $RecordType.DeveloperName = "Partner_Sale")

     

    ISPICKVAL(StageName, "Enquiry"), 

     

    Enquiry_Stage_Meet__c = FALSE

     

    )
0/9000