+ Start a Discussion
Melissa GMelissa G 

Cases Validation Rule - Allow users to reopen their own closed cases

Good morning!

I have two validation rules in place. One is to not allow users to open a closed case and another to not allow a change of ownership on a closed case. However, the client has asked if we can change these rules to allow these functions by the case owner. Can someone tell me how to add this functionality? The validation rules are below.

AND(
ISCHANGED(Status),
ISPICKVAL(PRIORVALUE(Status), "Closed"),
$Profile.Name <> "System Administrator",
$User.Id <> '00580000004yyXl'
)

AND(
IsClosed,
ISCHANGED(OwnerId),
$Profile.Name <> "System Administrator",
$User.Id <> '00580000004yyXl'
)

Thank you for any help you can provide in this!

Melissa
Best Answer chosen by Melissa G
Krishna SambarajuKrishna Sambaraju
Try this.

AND(
ISCHANGED(Status),
ISPICKVAL(PRIORVALUE(Status), "Closed"),
$Profile.Name <> "System Administrator",
Owner:User.Id <> LastModifiedBy.Id 
)

All Answers

Krishna SambarajuKrishna Sambaraju
Try this.

AND(
ISCHANGED(Status),
ISPICKVAL(PRIORVALUE(Status), "Closed"),
$Profile.Name <> "System Administrator",
Owner:User.Id <> LastModifiedBy.Id 
)
This was selected as the best answer
Melissa GMelissa G
Thank you!