Skip to main content

Hi there,

 

We're trying to create a validation rule and we're running into a road block. 

 

We have a field on the Account page that we want "locked" and only want system administrators to do edit this field. We've tried:

 

AND(ISCHANGED(OwnerId),NOT($Profile.Name <> "System Administrator"))

 

But it is still allowing the field to be updated. Would someone be able to help us navigate this?

 

 
2 Antworten
  1. 28. Aug. 2018, 20:05
    Hi kate,

     

    You are using double negative. NOT($Profile.Name <> "System Administrator"). You can either do NOT($Profile.Name == "System Administrator") or $Profile.Name <> "System Administrator"

     

    On a side note, you can also making the field read-only on the page layout if the system admin and other users have different page layouts.
0/9000