Provides the ability to list the differences between two entities using Rules.

Ever want to have rules send you change notifications via email? What if you only want the email to show the differences between the old and the new? Rules doesn't have a simple or structured way to get the difference between two entities. Your mission is to fix that. For instance, let's say you've implemented a help desk ticketing system in Drupal where a support ticket is a content type. When someone updates a ticket in Drupal, (i.e. set priority from low to high), you want to send an email to the ticket's assigned user showing them the change. You don't want to send the entire ticket over again, and you don't want to have to make a million different rules with individual conditions for the individual fields.

Configuration example

Send an email with the updates for a node.

  1. Add a rule event 'After updating existing content'
  2. Add an action 'Calculate difference between entities' with parameters:
  • Original entity: [node-unchanged]
  • Changed entity: [node]
  • Add an additional action 'Send email' with parameters [node:diff] or [node:diff-markdown] in message body.
  • Project information

    Releases