Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have an action that fires when a node is changed. It sends mails.
When I update a node without this rule activated, it takes less time to finish. But, when the rule is present, it first executes the action, then finishes the update process.
I would prefer to finish the node update process first, and fire the action of the rule in background. I dont care if the mail is sent immedately. I can wait for 5-10 seconds after the node update process finishes.
Comments
Comment #1
GiorgosKperhaps this module could be of help
http://drupal.org/project/rules_batch
Comment #2
Sinan Erdem CreditAttribution: Sinan Erdem commentedCool. Thanks for the suggestion. I will try it as soon as possible.
Comment #3
GiorgosKI am struggling also with core rules scheduler module but have not succeded with either module
rules scheduler is much more involved but I am following instructions here http://drupal.org/node/1068136
Comment #4
Sinan Erdem CreditAttribution: Sinan Erdem commentedI tried the Rules Batch Loop module. And it doesnt solve my problem. When using that module, after saving a node, a progres bar appears and executes actions. I really need the node save operation finishes, user sees the saved node, and in the background the rules are executed, the user doesnt see any output.
Comment #5
TR CreditAttribution: TR commentedThere is no way a Rule action to send mail would take 5-10 seconds. If this is still a problem with the current version of Rules please export your Rule and post it here so we can see exactly what you're doing.