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
CRMsimpleCRMsimple 

Validation Rule to Prevent Opportunity Stages from being skipped?

Is it possible to prevent users from skipping opportunity stages using a validation rule - maybe PRIORVALUE or something like that?
JakesterJakester
I think that would do the trick, but wouldn't this be annoying to users? If I want to go from stage 1 to stage 3, I wouldn't be able to, but I could set it to stage 2, save it, and then set it to stage 3 immediately thereafter. Just a thought, but as I think about it more maybe you've got some validation rules that check some things only when the user is in stage 2. So, yes, a validation rule that's something like

Code:
and(
    <>ispickval(priorvalue(stage), "stage 1")
   ,ispickval(stage,"stage 2")
)

 Note that this would prevent the user from going backwards in the cycle - say from stage 3 to stage 2.

Varun SridharVarun Sridhar
Is ther a solution for the above Vlidation Check Rule