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
Venu MVenu M 

validation rule on multiple condition

Hi All,

could someone help me with below validation rule?

RecordType.Id/Name = "ABC" or "DEF",
ISBLANK(Email), - Standard Field
OR
RecordType.Id/Name = "ABC" or "DEF"  - same record type as above
ISPICKVAL(Picklisk__C, "Unscreened")
ISBLANK(Territory),  - Lookup Field

Thanks!
SwethaSwetha (Salesforce Developers) 
HI Venu,
Can you elaborate on what your requirement is so I can suggest
Venu MVenu M
Hi Swetha,

On the lead objects, we have multiple record types supporting the business. The requirement is to restrict the user from creating leads manually on specific record types when Email is blank or (Screening pick field is selected = Unscreened and Territory is blank). I cannot make these fields mandate on object level as it will be implied to all record types. I hope this helps.