I have created a Rule which is supposed to fetch all the selected term from a taxonomy term field (a field that holds a list of taxonomy terms). But when the rule is executed, it fetches only one taxonomy term instead of all. The field is set to hold "unlimited" values.

Rule is:

Entity type = taxonomy term
Condition => content-type = course
Data selector => node:field-autodealer:name

The rule is supposed to add all users from selected groups into a course.

1 Answer 1


What you included n your question (with "Rule is"), does nto really look like a rule to me, rather something that is part of your rule. However, since you're trying to process a multi value field, a crucial part of a working rule is a Rules Action to perform a Loop. If you're not familiar with such loops, then I strongly recommend to have a look at the tutorial titled "Lists and loops".

In your case, you should (at least) have a Rules Action to create a loop related to your field that holds the list of taxonomy terms. After you do, you should iterate over each item in that list. And for each iteration you should then perform the desired Rules Actions.


PS: Refer to my answer to "How to set multiple values to an unlimited Term Refence field with Rules" for some sample rules that are like a variation of your question here.

  • Thank you so much. I followed the same approach to fix the issue. Used variables and loop. May 10, 2018 at 8:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.