I am wondering if there is a way to send an email automatically when a previously published node is edited, without requiring the editor to change the state of the node. I can see how to do that (send an email when the node's state is changed) with the workflow module (http://drupal.org/project/workflow), but cannot see a way to make the workflow module trigger an email automatically upon edit. There is a selection in workflow to "change workflow state of a node to next state," but it seems that someone needs to manually change the state of the node to trigger anything like this. And I actually want to change the state to a previous state. My worflow is (creation) -> Edited -> Reviewed, but I want the changes to the node to be immediately published even if they haven't yet been reviewed. Any help with this would be greatly appreciated!

Comments

coreyp_1’s picture

are you using the actions module, too?

- Corey

abloodworth’s picture

Yes, I am. However, I want a change in state in Drupal (e.g. a node was edited) to trigger an action (changing it back to a previous state). And as far as I can tell actions can only be triggered when the user creates or manually changes the state of a node. And unfortunately there is no action to "change workflow state of a node to previous state" (which is what I want to do), only to "change workflow state of a node to next state."