function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Jay Parikh 36Jay Parikh 36 

Validation rule to not change sub-stage value of closed won opp

I want to create validation rule when Opportunity is closed won and the user who is trying to update sub-stage and role of that user is xyz it will throw an error?
kamala swarnalathakamala swarnalatha

The validation rule that the system administrator can change stage name for closed won but the user not change the stage name for closed won in oppporunitity.

Try this one,

AND( $Profile.Id <> "00e7F0000023JYO", ISPICKVAL( StageName , "Closed Won"))

Sweet Potato Tec.