开发者

Check author of referenced node if the same as acting author in Drupal Rules module

开发者 https://www.devze.com 2023-01-14 16:56 出处:网络
I have a node type (A) that is referenced by another node type (B). I want it so that every time node type B is created, the author of node type A is notified. I can set up a rule with Rules module wi

I have a node type (A) that is referenced by another node type (B). I want it so that every time node type B is created, the author of node type A is notified. I can set up a rule with Rules module with this setting:

DO
action Load a referenced node
action Load the author of the node
action Send a mail to a user

But now I also want to check if the author of node B is the same as author of node A. If it is the same, I do not want to send开发者_C百科 an email. Is there a way to do this with Rules?

Thanks a lot!


You can compare users in conditions.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号