Skip to main content
Klajdi Isufaj 님이 #Data Management에 질문했습니다

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개
  1. 2021년 2월 2일 오후 1: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