+ Start a Discussion
northcountrygalnorthcountrygal 

How do I write a validation rule based on a lookup and a contact record type?

I would like to block users from creating Contacts that have the Account Name Contacts and Record Type "Group".  The below validation has no syntax errors, but when I test, the rule is not working and I'm still able to create new contact records ... Am I missing something? Thank you!

AND (Account.Name = "Contacts", RecordType.DeveloperName = "Group")
ManojjenaManojjena
Hey ,
Some times the record type have some some issue in validation rule .Check by adding indivisual condition .First with account name and next with record type name .Try with RecordType.Name instead recordtype.developer name .