Hello there,
I'm building a rule that's supposed to loop through all nodes tagged with a certain taxonomy term and set an entity's value on each iteration.
After wondering why it didn't work anymore for all nodes that should be triggered I found out that "Limit result count" of the "Fetch entity by property" action is set to a default value of 10 (Line 86 of contributions/rules/modules/entity.rules.inc)
Is there any recommended way of making sure my loop iterates through *all* results?
Setting "Limit result count" to 0 or -1 doesn't help, neither does removing the default value by directly hacking the code.
Thanks for any advice,
Daniel
Comments
Comment #1
daniel wentsch commentedJust in case anybody has the same question: I solved it by creating a VBO-powered view that selects my desired nodes and use this view as the source of the item-list in my rule. Works like a charm and lets you much more freedom on how to drill down your data before processing it.
Comment #2
Jeroen94 commentedThis feature still seems to be missing in the latest version at the time of writing. I think it is a quite basic and natural request, so it would be great to see this implemented in the next release.
Comment #3
tr commentedComment #4
tr commentedSee https://www.drupal.org/project/rules/issues/1801090#comment-12764870 for an explanation and work around.