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

daniel wentsch’s picture

Just 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.

Jeroen94’s picture

Version: 7.x-2.6 » 7.x-2.10

This 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.

tr’s picture

Version: 7.x-2.10 » 7.x-2.x-dev
Category: Support request » Feature request
tr’s picture

Status: Active » Closed (won't fix)