You need to sign in to do that
Don't have an account?
Shauna Lismore
Exclude a profile from a validation rule
Hi everyone,
We have a 'Rune rate' field which needs to be locked after it has been populated. I've figured that out with this validation rule:
AND(
ISCHANGED(Run_Rate__c),
NOT(ISBLANK(PRIORVALUE(Run_Rate__c)))
)
Now i'm trying to exclude the system admin profile from this. I've tried using
NOT($Profile.Name = "System Administrator")
but I'm not sure where to put it as I keep getting the 'missing )' error. Any ideas?
(I'm very new to formulas!)
We have a 'Rune rate' field which needs to be locked after it has been populated. I've figured that out with this validation rule:
AND(
ISCHANGED(Run_Rate__c),
NOT(ISBLANK(PRIORVALUE(Run_Rate__c)))
)
Now i'm trying to exclude the system admin profile from this. I've tried using
NOT($Profile.Name = "System Administrator")
but I'm not sure where to put it as I keep getting the 'missing )' error. Any ideas?
(I'm very new to formulas!)
Reference: https://salesforce.stackexchange.com/questions/96189/profile-name-in-validation-rule-not-working
All Answers
Reference: https://salesforce.stackexchange.com/questions/96189/profile-name-in-validation-rule-not-working