1

How can i access account record type by name while creating a validation rule on case object.

2 Answers 2

2

In the validation rule, add the field Account.RecordType.Name to access the record type name of the Account in your case object. Also, for developer name, use Account.RecordType.DeveloperName

3
  • I doubt if we can do that, I just tried in my developer org. Refer my answer Commented Jul 18, 2017 at 11:44
  • 3
    We can do this.
    – Ankita
    Commented Jul 18, 2017 at 11:46
  • Yes, I was not referring to correct option Commented Jul 18, 2017 at 11:47
2

I suggest you to use a formula that will contain the RecordType.Name.

now use this formula field in validation rule

..

If the RecordType object is available then use RecordType.Name directly in validation rule

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .