I have a address object, where I have to give a validation rule for one field name sequence ID
Requirement is : when sequence ID is assigned no user cannot edit other fields except one user [email protected] and 3 profile(system admin, system admin1, system admin2)
I wrote the rule but when I exempt those user and profile, they are not exempting means they cannot even edit other fields along with sequence ID.
AND(
NOT(ISBLANK(Sequence_ID__c)),
$User.Username <> '[email protected]',
OR(
NOT( $Profile.Name = "system admin1"),
NOT( $Profile.Name = "system admin2"),
NOT( $Profile.Name = "system admin3")
)
)