Skip to main content

Hello to all,

 

I'm trying to create a validation rule for the case object, where the validation rule should allow to select only the Case status New when case is created from Partner community profile

tried the following exampls to no result

First  Example)

AND(

 

 OR(

 

   ISNEW(),

 

   ISCHANGED(Status)

 

  ),

 

CASE(TEXT(Status), 

 

"Nue",1,

 

0) = 1,

 

CASE($Profile.Name,

 

"Partner - Franchisenehmer", 1,

 

0) = 1

 

)

Second Example:

 

AND(

 

 OR(

 

   ISNEW(),

 

   ISCHANGED(Status)

 

  ),

 

  $Profile.Name = "Partner - Franchisenehmer",

 

  ISPICKVAL(Status, 'Nue') 

 

)
3 Antworten
  1. 2. Feb. 2021, 13:13

    Hey guys,

    I figure it out and this is the correct answer: 

    AND(

     

    OR(

     

    ISNEW(),

     

    ISCHANGED(Status)

     

    ),

     

    NOT( ISPICKVAL( Status ,"New") ),

     

    $Profile.Name = "System Administrator"

     

    )
0/9000