Count the Total number of items in the Entities

I am trying to display the count of rows in an entity, so I used a microflow that return the count as an integer variable. But when I try to display that variable using the dataview, I get the error "Microflow doesn't return an object"
2 answers

Hi Dale,


A dataview always requires an object to be returned by the microflow. You cannot return a variable on a page. What you could do is to store the integer in an object to show on the page. Then you will able to display it on the page as you requested.


Hi Dale, dataview speaks to object only.

Please return an object instead of a variable.

You set the value to the object’s variable and pass to the interface.