Display Count on page

If I have an Orders table where each order can have a status (enum of open, closed, processing), then I want to have a microflow that queries the orders entity, and passes back a count of open orders. I can’t seem to pass a Count back out of a microflow, so what is the best setup for showing on the page “there are [33] open orders in the system”
2 answers

Create a NP entity with an attribute count, create a dataview with microflow datasource to do the count and create the object.

I hope this helps.


You could resort to the custom string widget to escape the np entity.

Edit: Should have added link > Custom String