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
Chandrika SuraneniChandrika Suraneni 

I am getting some knowledge in salesforce.Can someone help me with the following question

  1. When the status of  Case is "Closed" then only the System Admin profile user should be able to edit the record. ( Use Custom Settings)
VinayVinay (Salesforce Developers) 
Why do you need to use custom setting,  you can write simple validation rule.
ISCHANGED(ISPICKVAL(Status,'Closed'), $Profile.Name <> "System Administrator")

Please mark as Best Answer if above information was helpful.

Thanks,
vaani krvaani kr
Hi Chandrika Suraneni,

AND(
ISPICKVAL(Status,'Closed'),
$Profile.Name <> "System Administrator"
)

if the information is helpful mark as best answer
Thanks,
vani