There have been times where I would like to not run a particular action in a rule but the only way to do so is to delete the action. Having a checkbox on the action to be able to skip it would be a nice feature and save having to rebuild an action (in particular sending emails).

Comments

mitchell’s picture

Component: Rules Engine » Rules Core

Merged part of #985144: Reorder actions list here.

klucid’s picture

I would love this feature. Would it require a separate module?

For sending emails specifically, I would like the user creating the node (non-admin) to have an option to skip the action during node creation and node update.

klucid’s picture

I figured out a workaround by simply adding a global flag to the content type:

1) Add a flag to the content type called "Notify Users" and set it as a global flag.

2) On your Rule that sends the email, add a condition that looks for that flag. (Parameter: Flag: Notify Team, node: [node], User on whose behalf to check: [node:author])

3) Now when you create content, the email will only be sent out if that box is checked.

Hope this helps!

therainmakor’s picture

The suggestion is not necessarily what I was thinking about. But I've found a solution of my own. I build components and then add or remove those components to my rules' actions as needed.

I'll let the maintainer decide whether to close this issue.

tr’s picture

Issue summary: View changes
Status: Active » Closed (duplicate)