It is possible to create rule like this:

When deleting comment, and if this comment is published (or unpublished), then do something.

I was created rules:
- When deleting comment, then do something,
and
- When adding new comment, and if this comment is published (or unpublished), then do somethig.

I don't have option to add conditions from "comment" group on event: when deleting comment.

Comments

mitchell’s picture

Title: Conditions on comment rule » Add conditions for comments
Version: 6.x-1.0-beta5 » 6.x-1.x-dev
Component: Rules Core » Rules Engine
Category: support » feature

Currently, there aren't any provided conditions for comments, only events and actions.

mitchell’s picture

Version: 6.x-1.x-dev » 7.x-2.x-dev
Status: Active » Fixed

Fixed in 7.x

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.