
Below is the validation i am trying to check on opportunity record. Am i missing something here, as it's not throwing the validation error.
AND(INCLUDES( Close_Reason__c , "Competitor"), ISBLANK(TEXT(Competitor__c )), (RecordTypeId == "012280000002QFSAA2"))
2 answers
Validation Formulas use the 15 Char Id, personally I avoid using hard coded Id's, I use Name or DeveloperName AND(
$RecordType.Name = "The Name",
INCLUDES(Close_Reason__c, "Competitor"),
ISBLANK(TEXT(Competitor__c ))
)
or
AND(
$RecordType.DeveloperName = "The_Name",
INCLUDES(Close_Reason__c, "Competitor"),
ISBLANK(TEXT(Competitor__c ))
)