Skip to main content
Aswin Haridas (Subex) 님이 #Formulas에 질문했습니다

We Have out forecast category tied to stages however the user is able to select a different category from what is given and need to restrict the user from doing . So Had created the below VR

 

$Profile.Name <> "System Administrator" && ISCHANGED(ForecastCategoryName)

 

However when user are trying to move form one stage to another it given this validation issue. which is creating issue . Please help the user should be able to change stage and able to move according to the forecast category selected based on stage but should not override the forecast category 

답변 6개
  1. Eric Praud (Activ8 Solar Energies) Forum Ambassador
    2022년 5월 12일 오전 7:10

    HI Aswin,

     

    You will need to tie the Stage to the Forecast Category in your rule like so:

    AND($Profile.Name <> "System Administrator",

    ISCHANGED(ForecastCategoryName),

    TEXT(ForecastCategoryName)<>

    CASE(StageName,"Stage1","Forecast1","Stage2","Forecast2","Stage3","Forecast3", "Forecast4"))