Posted by chana on January 31, 2010 at 4:34pm
There is definitely a difference in the types of actions that are available between the two components.
As far as I can see, rulesets offer actions of a greater scope than triggered rules alone, but triggered rules seem to pick up on and allow me to use form actions as launch points for conditions and actions. It also looks like Rulesets can be "embedded" almost like subroutines in larger rulesets.
However, I am curious. Can someone give me an idea of where and why you would use a ruleset vs. a triggered rule?
Thanks very much,
Comments
rules handbook pages
i haven't read through these, but there's a big section on rules in the handbook: http://drupal.org/node/298476
Good Question
I, too, haven't been able to figure out what the story is concerning rulesets, despite having read the documentation. I've gotten two distinct concepts, either of which may be accurate:
I've used "regular" triggered rules successfully, and wanted to experiment with rulesets, hoping they would function more along the latter concept. I'd like to set up a rule that operates along the lines of: "When event, if this, do that, elseif some other thing, do something completely different."
This doesn't seem possible with triggered rules; it would require several distinct rules (cloned from a common base) for each if condition. Being able to put them all into one rule/ruleset would be nice.
the answer
http://drupal.org/node/298481
According to this, Triggered Rules are your system event engine interface, whereas Rulesets are like "macros" where you can define an action once, and not have to re-define it again inside a Triggered Rule.