+ Start a Discussion
kimstites1.389118431736615E12kimstites1.389118431736615E12 

prevent skipping stages on opportunity

I am trying to prevent my users from skipping stages.  I have created this rule but I keep getting errors.  Can someone help me?
OR(and(
    ispickval<>(priorvalue(stage), "Presented Program")
   ,ispickval(stage,"Statement Collected")
),and(
    <>ispickval(priorvalue(stage), "Statement Collected")
   ,ispickval(stage,"Statement Analyzed")
),and(
    <>ispickval(priorvalue(stage), "Statement Analyzed")
   ,ispickval(stage,"Analyzer Presented")
),and(
    <>ispickval(priorvalue(stage), "Analyzer Presented")
   ,ispickval(stage,"Closed Won")
))
AgiAgi
Hi,


OR(

AND(
NOT(TEXT(PRIORVALUE(Picklist__c))= ""),
ISPICKVAL(Picklist__c, "Presented Program")),

AND(
NOT(TEXT(PRIORVALUE(Picklist__c))= "Presented Program"),
ISPICKVAL(Picklist__c, "Statement Collected")),

AND(
NOT(TEXT(PRIORVALUE(Picklist__c))= "Statement Collected"),
ISPICKVAL(Picklist__c, "Statement Analyzed")),

AND(
NOT(TEXT(PRIORVALUE(Picklist__c))= "Statement Analyzed"),
ISPICKVAL(Picklist__c, "Analyzer Presented")),

AND(
NOT(TEXT(PRIORVALUE(Picklist__c))= "Analyzer Presented"),
ISPICKVAL(Picklist__c, "Closed Won")))
Varun SridharVarun Sridhar
Hi,

Did anyone Found the Solution for the above