Use Rules to fill EntityReference field with previously visited node?

Events happening in the community are now at Drupal community events on www.drupal.org.
mrweiner's picture

So, I'm building a site based on reviewing businesses. To build the review form I created a content type called "Review," that users are authorized to create. Users then simply save the content to submit the review. To relate the review back to the business page that they are reviewing, EntityReference seems to be my best bet. But, I don't want the user to have to enter in the name of the business that they are reviewing. Instead, I'm hoping to autopopulate the Entity Reference field with the node that they just navigated from.

So the workflow would be:
User views page for Business A -> User clicks review link -> User is presented with review form & Entity reference field is automatically filled with the name/id of Business A

What I don't know is which action to designate to tell Rules to do this. I have Event set to "before saving content," and Elements set to
"Entity has field, Parameter: Entity: [node], Field: field_venue_reference." I'm assuming that those are correct, but since I'm new to Rules, I'm not completely sure of that either. Any suggestions?

Rules

Group organizers

Group categories

Categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: