You need to sign in to do that
Don't have an account?
AAI
validation rule with profile role
Hi all,
I need to limit this validation rule to 2 profiles. I mean, this profiles won´t be able to modify the fields.
I attach the rule and I would appreciate any help`.
AND (
OR ($Profile.Name ="Manager Comercial-VGARC", $Profile.Name ="Manager Comercial"),
NOT(ISNEW()),OR (ISCHANGED( Canal__c ),(ISCHANGED( LeadSource ))
))
I need to limit this validation rule to 2 profiles. I mean, this profiles won´t be able to modify the fields.
I attach the rule and I would appreciate any help`.
AND (
OR ($Profile.Name ="Manager Comercial-VGARC", $Profile.Name ="Manager Comercial"),
NOT(ISNEW()),OR (ISCHANGED( Canal__c ),(ISCHANGED( LeadSource ))
))
May I suggest you please refer the below link for reference.
- https://success.salesforce.com/answers?id=90630000000gtvOAAQ
- https://success.salesforce.com/answers?id=90630000000gqflAAA
hope it helpsPlease mark it as best answer if the information is informative.so that question is removed from an unanswered question and appear as a proper solution.
Thanks
Rahul Kumar
All Answers
May I suggest you please refer the below link for reference.
- https://success.salesforce.com/answers?id=90630000000gtvOAAQ
- https://success.salesforce.com/answers?id=90630000000gqflAAA
hope it helpsPlease mark it as best answer if the information is informative.so that question is removed from an unanswered question and appear as a proper solution.
Thanks
Rahul Kumar
You have a problem for the ISNEW() probably.
You can use ISBLANK in this case.
($Profile.Name ="Manager Comercial-VGARC" or $Profile.Name ="Manager Comercial"),
and either (ISCHANGED(Canal__c) or ISCHANGED(LeadSource) /* update */
or ISNEW() (creation) and either Canal__c or LeadSource is not blank. Regards