I would like to activate or deactivate a rule using Rules i.e.

  $rules_config->active = FALSE;

or

  $rules_config->active = TRUE;

Is this possible?

Comments

bisonbleu created an issue. See original summary.

kopeboy’s picture

Yeah I'm interested in this one as well!

For example with VBO one could create a safe list for the client of pre-configured rules to activate/deactivate.

Rules or components of course. Even better: scheduled components!

TR’s picture

Status: Active » Fixed

No, there is no action that I know of that will allow you to enable/disable a Rule. It should be easy to write one and post it here as a contribution - if it's useful to you it might be useful to someone else, and if there's enough interest we can add it to Rules.

Status: Fixed » Closed (fixed)

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