Posted by bartl on October 3, 2011 at 7:39am
I need to send a mail to users of particular roles. The intention is, just as in the permission system, that if a user has any role from the list of the selected roles, that he gets the mail. The mail is not sent. It only works if I select only one role.
It looks to me like the logic to combine the roles is AND, thus, that only users that have all roles get the mail, and there are no such users. Instead, I need OR. There seems to be no way in the rules interface to select that.
Suggestions?
Comments
What's your triggering event?
What's your triggering event? And what version are you using?
I'm using Drupal 7, and Rules 7.x-2.0-rc1
I'm using Drupal 7, and Rules 7.x-2.0-rc1 (I'll get to upgrading that, Real Soon Now). The triggering event is when a profile is created, from the module Profile2.
Thanks to event logging, I know that the event is triggered, and even this action is invoked, it just doesn't do anything. It works if I deselect all roles but one.
(For testing I added the alternative event "when an existing profile is saved", so I don't have to create a new user with a new profile every time.)
nbcc
vnbvmnbvmnb