I want to create a validation rule where only users with the role “UK: Institutional Team” are able to create cases with the record type called “Benchmark Change”.
My Validation rule is;
AND(
ISNEW(),
RecordTypeId = '01250000000UK5B',
$UserRole.Name = 'UKInstitutionalTeam')
However I can create a case and I am system admin
Case
Record type name : Benchmark Change
Record type iD : '01250000000UK5B'
Role Hierarchy
Label: UK: Institutional Team
Role name: UKInstitutionalTeam