Entering views result to field through rules
-
20-02-2021 - |
Question
When I create a new OG, I would like the user with the least number of OG subscriptions automatically to be added to this group. So I created a views block where I count and least the user with the least number of OG subscriptions. Under actions, there is an option named subscribe user to group
. Is there a way for me to use the views result in data selector of this action? Otherwise, how would you tackle this issue.
Solution
I created a sql query through the Views Rules module and it did the trick.
Licensed under: CC-BY-SA with attribution
Not affiliated with drupal.stackexchange