Skip to main content
What would the Validation Rule be for System Admins & Data Admins to be only able to edit and change particular fields on the Opportunity Page Layout once the Opportunity stage has beenn marked Closed Won or Closed Won Renewal?

 

This formula below does not work, but something similar?

 

AND( 

 

$Profile.Name <> "System Administrator", 

 

IsWon = TRUE, 

 

PRIORVALUE(IsClosed) <> FALSE, 

 

OR( 

 

ISCHANGED(Amount), 

 

ISCHANGED(CloseDate), 

 

ISCHANGED(StageName), 

 

ISCHANGED(Type), 

 

ISCHANGED(Start_Date__c), 

 

ISCHANGED(End_date__c)))
8 respuestas
  1. 14 may 2018, 16:13
    Hi Serena,

     

    Whats not working with the formula?

     

    Do not Use IsClosed in the Validation rules, use the actual Stage Name

     

    Please give this a try

    AND(

    $Profile.Name <> "System Administrator",

    TEXT(PRIORVALUE(StageName)) = 'Closed Won',

    OR( 

    ISCHANGED(Amount), 

    ISCHANGED(CloseDate), 

    ISCHANGED(StageName), 

    ISCHANGED(Type), 

    ISCHANGED(Start_Date__c), 

    ISCHANGED(End_date__c)

    )

    )

0/9000