Ask Search:
v rv r 

allow only admin to edit lead once statu is set to specfic value

I have a validation rule on lead.
ISPICKVAL( Status,"Rejected").

this validation rule will appy for all users from editing the lead. how to exclude admins based on their user ID.
Best Answer chosen by v r
Deepak AnandDeepak Anand
Try this = 
AND(
    $Profile.Name <> "System Administrator",
    ISPICKVAL(Status, "Rejected")
)

All Answers

Deepak AnandDeepak Anand
Try this = 
AND(
    $Profile.Name <> "System Administrator",
    ISPICKVAL(Status, "Rejected")
)
This was selected as the best answer
Safwan AhmedSafwan Ahmed
Hi v r,

Please try this and let me know if it's work or not

AND(
ISPICKVAL( Status,"Rejected"),
$Profile.Name<>"System Administrator"
)
v rv r
@deepak @Safwan Ahmed , you guy are awesome 
Safwan AhmedSafwan Ahmed
Hi Vr,

You are welcome. We are here to help each other as a commnity.