rule

Events happening in the community are now at Drupal community events on www.drupal.org.
drecute's picture

How to determine when a rule or rule_set is executed or evaluated?

Hello,

I want to be able to determine when exactly a rule_set or rule has been executed successfully. I have looked vividly at the entire Rules code and I can't just find what I need. The only implementation that gave me a result is rules_log_evaluation_finished(). Below is my understanding about some pretty clear Rules APIs (I hope I'm correct).

  • rules_get_items (returns info about all defined items - rules or rule set)
  • rules_gather_items (used for collecting events, rules, actions and conditions from other modules)
Read more
megapinn's picture

Rules >> Triggered Rules >> Check the Content has Access (example: book access, forum access)

As the title suggests, I am trying to use the rules module to check Access Control.

Read more
mach5_kel's picture

Rules >> Triggered Rules >> Add Role on Join Organic Group: Help.

As the title suggests, I am trying to use the rules module to add a Role on joining a specific organic group.

There doesnt seem to be any module for drupal 6.xx (unlike drupal 5.xx). Rules seems like it should be a good fit for this.

This is my first time using this module. I ran through some examples, etc. to get familiar with it.

I Choose >> Triggered Rules

-Add new rule.
Event = User Joins Group

-Add Action
Add Role (then choose the role I want added).

No problem.

Read more
Subscribe with RSS Syndicate content