I have the following setup where I have 2 content types called BRIEFS and IDEAS. On BRIEFS, I have a list of users selected in a field called brief_recipients which is a user reference field.
IDEAS has a entity reference field (associated_brief) that references a BRIEF.
Currently when I create an IDEA, it will email the author of the referenced BRIEF. This works using the following rules setup:
Now I'm trying to add in a LOOP to access the entityfield associated_brief's > brief_recipients field and email them too.
But the problem seems to be that Rules cannot drill down into an entityfield's fields as I can only get to body and author only as seen here:
Now the question is how do you drill down into an entity field's fields? Or is there another suggested way of doing this?
Which hook would I need to tap into if I had to write this custom?