I have created a VR where I want the users to not change the Stage backwards. However, The system admins can change the opportunity to back stages. Here is my code and it is not working as it should be :-
OR
(AND
(ISCHANGED(StageName),
ISPICKVAL(PRIORVALUE(StageName), "0. Prospecting"),
Intro_Meeting_Accepted__c = FALSE),
(AND
(ISCHANGED(StageName),
ISPICKVAL(PRIORVALUE(StageName), "1. Presentation"),
Sales_Process_Document_Part_A_B__c = FALSE)),
(AND(
ISCHANGED(StageName),
ISPICKVAL(PRIORVALUE(StageName), "2. Scoping"),
Sales_Process_Doc_Part_C__c = FALSE)),
(AND(
ISCHANGED(StageName),
ISPICKVAL(PRIORVALUE(StageName), "3. Proposal"),
SOW_MSA__c = FALSE)),
(AND(
ISCHANGED(StageName),
ISPICKVAL(PRIORVALUE(StageName), "4. Closing"),
PO_has_been_received__c = FALSE))
)&&
NOT(ISPICKVAL(StageName, "Closed Lost"))&&
NOT($Profile.Name <> "System Administrator")