You need to sign in to do that
Don't have an account?
Jennifer Dunne
Validation Rule to allow only specific Profile to edit record
Hi,
I need help with my validation rule. I need to allow only the 'Intake' profile to edit a record 'status' field when another field 'contact type' = 'Intake' . So far I have below, but it's not working.
I need help with my validation rule. I need to allow only the 'Intake' profile to edit a record 'status' field when another field 'contact type' = 'Intake' . So far I have below, but it's not working.
AND
(ISCHANGED(enrtcr__Status__c),
NOT(mntrs_Contact_Type_derived__c = "Intake"),
$Profile.Name = "Intake")
(ISCHANGED(enrtcr__Status__c),
NOT(mntrs_Contact_Type_derived__c = "Intake"),
$Profile.Name = "Intake")
Try the below one:
AND
(ISCHANGED(enrtcr__Status__c),
mntrs_Contact_Type_derived__c = "Intake",
$Profile.Name <> "Intake")
If mntrs_Contact_Type_derived__c is picklist field then use the TEXT(mntrs_Contact_Type_derived__c) = "Intake"
Thanks,
Maharajan.C
All Answers
Try the below one:
AND
(ISCHANGED(enrtcr__Status__c),
mntrs_Contact_Type_derived__c = "Intake",
$Profile.Name <> "Intake")
If mntrs_Contact_Type_derived__c is picklist field then use the TEXT(mntrs_Contact_Type_derived__c) = "Intake"
Thanks,
Maharajan.C