You need to sign in to do that
Don't have an account?

Case Status validation rule
Hi All,
I am trying to create a validation rule that restricts the ability to change the status of a case to Transfer for all users.
It should restrict the user from changing the status of a case with a specific record type to transfer, unless the user has a specific role which will allow it to use that status.
The syntax passes, but whenever I test the rule on a case I get the validation error with the roles listed.
Any help would be very appreciated.
Thank you in advance!
I am trying to create a validation rule that restricts the ability to change the status of a case to Transfer for all users.
It should restrict the user from changing the status of a case with a specific record type to transfer, unless the user has a specific role which will allow it to use that status.
The syntax passes, but whenever I test the rule on a case I get the validation error with the roles listed.
Any help would be very appreciated.
Thank you in advance!
AND( ISPICKVAL(Status, "Transfer"), RecordType.Name = "Example", OR( NOT($UserRole.Name = "CEO"), NOT($UserRole.Name = "CFO"), NOT($UserRole.Name = "CIO"), NOT($UserRole.Name = "Admin") ) )
The OR statement looks for the first item that is true and then quits. So if the User's role is not CEO then it will return true. You want it to return true of none of the Roles match, so AND would be appropriate.
Sorry about that, I missed "AND" and put "OR" in the last formula..
Thanks,
Parker