Wednesday, 18 September 2013

Drupal - Send email to revision editor instead of node author

Drupal - Send email to revision editor instead of node author

I am currently using the Workbench Moderation module to allow pieces of
content to be moderated and go through an approval process before being
published. This all works great. Part of my process is to send an email to
a user when their edited content has been approved/published. I currently
have a Rule setup to where when a node gets published and it's under
Moderation an email gets sent to the author of the node saying that the
node was published. This is fine except for the fact that sometimes we
have people editing someone else's content. In other words "Bob" creates a
basic page and it gets published and he is the author. Now months down the
road, "Susie" is tasked with editing Bobs page. She creates a new draft,
sends it for review and a manager publishes it. The problem is that Bob
gets the email that it was published and Susie has no idea that her edits
were published and are now made live. I was looking in the Tokens in my
Rule for the email that gets sent out when something is published and I
could not find something that made sense as far as sending it to the
Revision author as opposed to the original author. Is this even possible?
Thanks in advance.

No comments:

Post a Comment