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?

0

1 Answer 1

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.

3
  • thanks that works. this is how it looks for those wondering: prntscr.com/84wq23 Aug 15, 2015 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 - Aug 15, 2015 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 ... Aug 30, 2016 at 11:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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