Trying to create a validation rule to stop a particular Roles (example Role A, Role B and Role C) from changing info on a closed opportunity.
I have 1 user which I want to bypass this validation rule but has the Role C - how do I go about creating this part of the rule?
I have tried by using the username as the data point:
AND(PRIORVALUE(IsClosed) = True,
&& (OR($UserRole.Name = "Role A",
$UserRole.Name = "Role B",
$UserRole.Name = "Role C" AND $User.Username <> "[email protected]"))
Any help will be much appreciated