Skip to main content
I dont know if its Friday or that I'm just terrible at validation rules but... why doesn this not work? 

 

AND( 

 

ISPICKVAL(StageName, "Initial Discovery"), 

 

NOT(OR( 

 

ISPICKVAL(PRIORVALUE(StageName), "Solution Mapping"), 

 

ISPICKVAL(PRIORVALUE(StageName), "Solution Validation"), 

 

ISPICKVAL(PRIORVALUE(StageName), "Quote & Negotiation"), 

 

ISPICKVAL(PRIORVALUE(StageName), "Contract Closed"), 

 

ISPICKVAL(PRIORVALUE(StageName), "Closed Lost") 

 

)) 

 

)

 

Its meant to stop users from moving an oportunity back to Initail Discovery if teh stage is already at any of the following ones.

 

Appreciate your help in advance
답변 4개
  1. 2014년 10월 10일 오전 11:11
    I don't think you need the NOT(), do you?

     

    AND( 

     

    ISPICKVAL(StageName, "Initial Discovery"), 

     

    OR( 

     

    ISPICKVAL(PRIORVALUE(StageName), "Solution Mapping"), 

     

    ISPICKVAL(PRIORVALUE(StageName), "Solution Validation"), 

     

    ISPICKVAL(PRIORVALUE(StageName), "Quote & Negotiation"), 

     

    ISPICKVAL(PRIORVALUE(StageName), "Contract Closed"), 

     

    ISPICKVAL(PRIORVALUE(StageName), "Closed Lost") 

     

    )

     

    )
0/9000