Actions are not being triggered by my triggered rules.

What I want to happen: when a user publishes a post where content type is "housing_listings" and my CCK radio button field ("field_wanted_or_offering") is set to a particular value, there should be a log entry at /admin/reports/dblog.

You can see the rules export here: http://groups.drupal.org/node/19114#comment-65822

I've tried disabling & deleting the module and then uploading & enabling again. Still doesn't trigger any action.

(Another minor point: There should probably be no use of the word "watchdog" in the Rule UI, since that word is no longer used in Drupal 6. As explained in the note here: http://drupal.org/node/300 )

-Ryan

Comments

VeeLin’s picture

Component: Rules Core » Rules Engine

I'm not that experienced with rules and not a module maintainer but I can confirm that RULES is working for me so I think the past suggestion that there is something still wrong with your installation probably still applies. OR you aren't setting up the rule correctly which would explain why you don't even get any errors . . .

Do you follow this procedure for adding modules?
add module
activate module
run update.php?

do you have other rules that work?
You ask about further documentation . . . simple steps to setting up the above would be:
Rules > Triggereed Rules > add a new rule
Lable: Log
Event: Content is going to be saved
the "this rule is active . . . . " check box should be checked.
Save Changes

In Rule Elements:
Conditions > Add a condition> Content has type (chose your content type "housing listing")
Add another condition to check the cck field . . .

Add an action to edit the log . . .

Then you will have to set up another rule if your cck field has a second value.

OK - this may not be helpful but I just thought I'd write down the basics since I sometimes find that helpful.

Cheers and good luck,

V

fago’s picture

Category: bug » support

Try enabling the debug rule evaluation setting and see what's happening.

mitchell’s picture

Status: Active » Postponed (maintainer needs more info)

See #2.

mitchell’s picture

Status: Postponed (maintainer needs more info) » Fixed

Marking as fixed due to inactivity.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.