function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
myanceymyancey 

Help with Validation Rule - BEGINS

This expression returns TRUE when Status = 60-Escalated.  By why?

 

AND ( RecordTypeId  = "012800000003VEx",    /* Support Case  */
            ISPICKVAL(Level__c, "Level 2"),
            NOT ISCHANGED (Level__c),
            OR ( BEGINS(TEXT(Status),"0"),    
                     BEGINS(TEXT(Status), "1"),  
                     BEGINS(TEXT(Status), "5"),   
                     BEGINS(TEXT(Status), "7")  )  )

   

 

Lucy YuanLucy Yuan

try to add the "()" after "not"

 

AND ( RecordTypeId  = "012800000003VEx",    /* Support Case  */
            ISPICKVAL(Level__c, "Level 2"),
            NOT( ISCHANGED (Level__c)),
            OR ( BEGINS(TEXT(Status),"0"),    
                     BEGINS(TEXT(Status), "1"),  
                     BEGINS(TEXT(Status), "5"),   
                     BEGINS(TEXT(Status), "7")  )  )

   

myanceymyancey

tried this.  still doesn't work right