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
AJFAJF 

Require a case comment to close a case

Does anyone know how to create a case validation rule to check that at least one case comment has been added to a case before allowing a user to close it? Please help.
werewolfwerewolf

It's actually very similar to this:

 

http://blogs.salesforce.com/support/2008/10/how-to-stop-peo.html

 

Make a custom checkbox field on Case called "Commented."  Use a workflow on case comments to set that field to true whenever somebody adds a comment.  Then add a validation rule on Case that fires if you're trying to set the Case to a closed status and Commented is false.

AJFAJF

Thanks Werewolf. I'll give it a try.