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
lonely boylonely boy 

I have a field 'contact_outbound__c'.I need a Validation rule 'If a case is createdBy 'System Admin' then only system admin can edit that record others shouldn't edit it.

I have a field 'contact_outbound__c' on case object.I need a Validation rule 'If the case is createdBy 'System Admin' then only system admin can edit that field others shouldn't edit it.
CharuDuttCharuDutt
Hii Lonely Boy
Try Below Validation
AND(ISCHANGED(contact_outbound__c), NOT( ISNEW() ) , CreatedBy.Profile.Name <> 'System Administrator',$Profile.Name <> 'System Administrator')
Please Mark It As Best Answer If It Helps
Thank You!