Leighton:
I have been having huge headaches with Rules/Tokens and I think I might have figured out the problem.
I was trying to send out multiple reminders while coming up on an expiry date. So I have included the rules I have set up below in the different font. One thing I noticed is that from the Argument configuration of the triggered rules, the arguments for Userinfo is "acting user" which would be the admin instead of the user you are changing. There are no other options, is this something you set up or is it my fault.
Connie
I am using MoneyScripts as my paypal payment engine.
I am using drupal 6
I have the following rules and rulesets:
Triggered Rules: "User extended expiry 2 {triggered rule}": ON event Ms membership membership edit form is submitted. Action: Schedule Send first reminder email 2 {rule set} {action}. It asks for Argument configuration and the arguments are user_info:acting user. The acting user is the admin who is updating the expiry for the user we want to send the email to.
Ruleset: "Send first reminder email 2 {rule set}": This has an action to send an email to an arbitrary address, that sends an email to [user:user-mail], [user:site-mail], [user:mail]. From the moneyscripts forms this is the email address that should be the users whose subscription we are updating "[user_info:mail] User's email address". When that email goes out it is to the admin not the user who's account is expiring.
What am I doing wrong...here is the log entry:
#
* 0 ms "Ms membership membership edit form is submitted" has been invoked.
* 0.08 ms Executing the rule "joe" on rule set "Ms membership membership edit form is submitted"
* 1.752 ms Loaded variable "acting user"
* 1.796 ms Action execution: "Schedule Send first reminder email 2 {rule set}"
* 2.747 ms Action execution: "Send a mail to a user"
* 113.623 ms Executing the rule "User extended expiry {triggered rule}" on rule set "Ms membership membership edit form is submitted"
* 120.627 ms Action execution: "Schedule Send first reminder email {rule set} {action}"
* 121.34 ms Executing the rule "User extended expiry 2 {triggered rule}" on rule set "Ms membership membership edit form is submitted"
* 121.958 ms Action execution: "Schedule Send first reminder email {rule set} {action}"
* 122.744 ms Action execution: "Send first reminder email 2 {rule set}"
*
o 123.107 ms "Send first reminder email 2 {rule set}" has been invoked.
o 123.162 ms Executing the rule "Schedule Send first reminder email 2 {rule set} {action}" on rule set "Send first reminder email 2 {rule set}"
o 123.482 ms Action execution: "Send a mail to an arbitrary mail address"
o 135.612 ms Action execution: "Send a mail to an arbitrary mail address"
o 149.714 ms Evaluation of "Send first reminder email 2 {rule set}" has been finished.
* 149.849 ms Executing the rule "User extended expiry 3 {triggered rule}" on rule set "Ms membership membership edit form is submitted"
* 149.948 ms Evaluation of "Ms membership membership edit form is submitted" has been finished.







