2

I have a node that lets me select multiple users in a user reference field. I also have a rules setup to email the author when someone makes a comment on that node.

Now, how do I also email the users I selected in the user reference field when someone makes a comment? Would rules work in this scenario or something else?

2

You should be able to add another "Send email" action to your rule, but place it inside a Rules loop so it can iterate over the multiple values in the user reference field. You may need to first add an "Entity has field" condition to get access to these values.

  • thanks that works. this is how it looks for those wondering: prntscr.com/84wq23 – Patoshi パトシ Aug 15 '15 at 13:32
  • Happy to help. :) Rules can be tricky. It would be great if you could select this as the correct answer so others will see that it has been answered. Cheers - – othermachines Aug 15 '15 at 18:17
  • @duckx : please consider marking this question as accepted (also as per your thanks that works). That way it won't show up anymore in the unanswered questions either. BTW: by doing so, you'll get a tine (+2) bonus also ... – Pierre.Vriens Aug 30 '16 at 11:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.