Closed (fixed)
Project:
Rules
Version:
7.x-2.x-dev
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
19 Feb 2013 at 21:06 UTC
Updated:
29 Jan 2020 at 06:30 UTC
Jump to comment: Most recent
Comments
Comment #1
Yuri commentedYou figured this out already?
Comment #2
danharper commentedNo I never did, I got asked to put this specific project on hold but I will be revisiting it in the next month or so.
Comment #3
Yuri commentedOk i figured it out just now, its simple when the entity reference field allow only one value. Getting a field value from a node through an entity reference field, requires that you first add the condition 'entity has field', for the node and adding the entity reference field. Then again add a condition 'entity has field', now selecting the first node referenced in the reference field, and seleting the field of which you want the value.
In my case i wanted the field value of field_cluster_reference of the node referenced in field og_group_ref, which makes this chain:
However, I still need to figure out how to add all values of all referenced nodes as a list, I guess I need a loop for that..if anyone can give a hint, would appreciate it.
Thanks
Comment #4
danharper commentedI think under actions you add loop, so for every value found do something.
Comment #5
tr commentedThis question was answered long ago.
Comment #6
tr commented