Identify which Rule is triggered

by techie   Last Updated January 10, 2018 06:07 AM

I have a collection of email notifications created with Drupal Rules module and a separate custom database table with the ID's of the rules and emails to exclude from individual notifications. I need to know which rule is being triggered so I can query my custom table for the correct emails to exclude. Creating custom conditions would not work because I have 20+ rules using the same custom action. The only hook that I can find that is triggered after a rule is executed is hook_rules_config_execute but it does not give me information only on the specific rule that triggered.

Tags : 7 rules

Related Questions

Clone nodes and change fields with Rules and VBO

Updated May 20, 2015 20:03 PM