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

Validation rule | Allow person with particular profile to modify the field


I have a object which is public read/write.
I have a validation rule like below which prevents modification of a custom field if the person is not the owner of the record.
Validation rule is like below
ISCHANGED( Custom_field1__c ) &&  $User.Id  <>  OwnerId

I want to add in this validation rule that the person with XYZ profile will ALSO be able to modify the custom field.

How can i add condition ?
thansk for suggestion !
Best Answer chosen by Ab
Nitin SharmaNitin Sharma
Hello Sandrine,

You can give directly edit permission for that field on profiles basis. 

Nitin Sharma