Skip to main content
I have a validation rule that keeps anyone except for administrators from editing an opportunity after it is closed. Now I need to make two fields editable by everyone after the opportunity is closed. How do I do that?

 

Heres my validation rule

 

AND(ISPICKVAL((StageName),"Closed/Won - 100%"), 

 

NOT(OR( 

 

$User.Id = "00534000009IAAD", 

 

$User.Id = "005340000097c6g", 

 

$User.Id = "00580000003wipf", 

 

$User.Id = "005800000074nof", 

 

$User.Id = "00534000009qNA4", 

 

$User.Id = "00534000009a4KN", 

 

$User.Id = "00534000009tCPi")))

 

Error Message   Not allowed to be edited once at closed won 100%. Only systems admin allowed to edit
4 answers
  1. Feb 13, 2018, 7:37 PM

    Like this - 

    AND(

    NOT(ISCHANGED(Field1__c)),

    NOT(ISCHANGED(Field2__c)),

    ISPICKVAL((StageName),"Closed/Won - 100%"),

    NOT(OR(

    $User.Id = "00534000009IAAD",

    $User.Id = "005340000097c6g",

    $User.Id = "00580000003wipf",

    $User.Id = "005800000074nof",

    $User.Id = "00534000009qNA4",

    $User.Id = "00534000009a4KN",

    $User.Id = "00534000009tCPi")))

0/9000