function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
MrDMrD 

Validation Rule for Record Specific Record Type

I have put together several Data Validation rules for a Custom Object and I want some of the rules to function for specific Record Types. The Data Validation rules that I have created function over all the Record Types that have the required fields and I need to know how to write the formula to apply the rules to specific Records Types.

Below is one of the Validation Rules that I need for a specific record:

Error Condition Formula:
AND (
OR (
LEN (SOW_PO__c )>0),
ISNULL( SOW_Amt__c )
)
MrDMrD
I found the function I was looking for:
 
CONTAINS($RecordType.Name, "Test")