With Privatemsg and Rules modules, I want to create a rule :

Anyone create a node, a special role user recept accepted a privatemsg.

But when I create the rule, in the actions, meet a problem:

The "Data selector" in RECIPIENT, I can't find the role.

Does anyone have a solution ?

  • I'm sorry, I don't understand what you mean: "special role user recept accepted a privatemsg." Could you clarify? Jul 10, 2013 at 11:05
  • It means users who has role A, can accept a privatemsg.
    – Rylyn
    Jul 10, 2013 at 15:00

1 Answer 1


The Recipient in the Privatemsg rules integration does not provide a user object, because the recipient could be a user or a role. (There is a Privatemsg function for sending messages to roles, not just individual users.)

So, this is a limitation of the Privatemsg rules integration. If you want to do this, you will have to add that functionality to the module yourself.

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.