How do you fetch the total row count of a Rules View?

Created on 3 July 2023, over 1 year ago

Unable to fetch the total row count of a Rules View

I have a View that lists entity IDs of some sort and I have created a Rules View for this. In Rules, I have created a component where I want to fetch the total number of rows from that Rules View and do something with that number which should be an integer, I believe. I don't want to do something with each row. I just need to collect the total. I'm using the "Collect view result rows" action to try to collect the total number of rows as a number.

How do I make this number available in my Rules component without looping over the entire list?

💬 Support request
Status

Active

Version

1.0

Component

Documentation

Created by

🇭🇰Hong Kong BassPlaya

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024