ever debugged a commerce-after-checkout rule?

would be great: manually trigger rules events.
needs a data input to browse entities for parameters.

Comments

geek-merlin’s picture

Component: User Interface » User interface

in fact we just need an action that fires an event.
the rest should be done with a "mock my event" action set.

Torenware’s picture

This can be done in drush pretty easily, if I understand what you want to do.

This isn't a Commerce example, but here's something I did for an event I wrote:

rules_invoke_event('wizard_data_ready', $data);

I'm finding the API docs for Rule 2.0 to be pretty difficult to get through, but this at least is easy.

fago’s picture

We could just build that similar to the "execute" functionality for components, we won't need an action for it. Not sure about the naming though?

tr’s picture

Version: 7.x-2.x-dev » 4.0.x-dev
Component: User interface » User Interface
Issue summary: View changes