You need to sign in to do that
Don't have an account?
Dastagiri Basha
Hi All, i have a requirement on cpntact object, If the Lead source is in "Web" or "Other" no one should change the Lead Source Field to any value except Admin & Dev profiles and we have to through an Validation.
I have written an validation rule but it's not working can any one help me.
AND(ISCHANGED(LeadSource), OR(ISPICKVAL(PRIORVALUE(LeadSource),'Web'),
ISPICKVAL(PRIORVALUE(LeadSource),'Other' ) ),NOT(
$Profile.Id = '%2F00e5g000002NiSg'))
AND(ISCHANGED(LeadSource), OR(ISPICKVAL(PRIORVALUE(LeadSource),'Web'),
ISPICKVAL(PRIORVALUE(LeadSource),'Other' ) ),NOT(
$Profile.Id = '%2F00e5g000002NiSg'))
Can you try something like below. Please include the name instead of ID and rest all looks good.
if this solution helps, Please mark it as best answer.
Thanks,
Try Below Validation Please Mark It As Best Asnwer If It Helps
Thank You!