Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Looking for some help setting up a rule that is triggered "After updating an existing quiz result". I would like to set an action based on a field value that is in the quiz node itself. I can normally call a value from a field related to the node that triggered the rule by adding a condition something like "Entity has field". When adding this, I expected I'd be able to select the quiz node from the quiz result selections, but it does not seem to be available. Any ideas how I can get to the fields on the quiz using "Entity has field?"
Comments
Comment #1
djdevinSorry I missed this, for anyone googling...
A quiz result reaction rule, you can do the following to get the node
Entity is of type = Node, data selector [quiz-result:nid]
Entity has field = field_whatever, data selector [quiz-result:nid]
Then you should be able to do comparisons.