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
HNT_NeoHNT_Neo 

Validation Rule for Account Record type and Profile Type

Need a validation rule to hinder a profile type from creating a particular account record type. our org has several account record types, but one in particular we don't want users creating. Users will still have the ability to edit current account record type. 

Account Record Type Name: Interior Stores
Profile Name to block access of creating Interior Stores accont record types: HJ SDT
Best Answer chosen by HNT_Neo
K_McRaeK_McRae
It is possible using a validation rule, but this will only fire when they try and save the record rather than preventing them from selecting it in the first place.

Your Error Condition Formula should be similar to this:
and ( 
$Profile.Id = "00e20000001UfIQ", 
$RecordType.Id = "01220000000D2OG", 
ISNEW() 
)