Skip to main content

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 respuestas
  1. Eric Praud (Activ8 Solar Energies) Forum Ambassador
    12 may 2022, 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"))