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
Meng Liu 9Meng Liu 9 

a field have a few values,I want to set up a rule ,when the special role person change a the field value to another special value,the role person can not do that,What should I do to complete it in process builder or other ways,but not apex.Thank you!

GhanshyamChoudhariGhanshyamChoudhari
You can use a validation rule

Error Condition Formula : AND(PRIORVALUE(Description) <> Description, $UserRole.Name == 'CEO' )