You need to sign in to do that
Don't have an account?

can any one please help me on this, Detail a solution for the following ?
On the Opportunity object, prevent non-admin users from modify the Opportunity Name once Probability is greater than 50% and prevent Opportunity from being deleted if Probability greater than or equal to 75% (Please show code as necessary)
AND(
PRIORVALUE( IsClosed ) = True,
NOT(OR(
$Profile.Id = "00et0000000q111",
$Profile.Id = "00et0000000q222"))
)
you need to change the code according to your requirenments
Where profile is a string, containing admin profile ids separated by commas. You can keep that in custom setting and access that in trigger.