Display the # of times a flow has been executed

Hi all,

A while ago, I found a way (somewhere on the forum) to display the number of times (all) flows were executed.
This was very helpful to identify flows which were never triggered (to be deleted?) and flows which were triggered too often (performance?).
However I can’t find this anymore! I believe it was a homey script or something to do inside homey developer tools…

Does this ring a bell to anyone and/or does anyone know how to get an overview of all your flows with the amount of times this flow was executed?

Thanks in advance!

Yes, go to https://flow.homey.app . Keep your cursor on a flow and it will display the counter.

2 Likes

So easy… perfect, thanks!! :slight_smile:

To answer the initial question just for future reference:

Execute the following command here: https://developer.athom.com/tools/api-playground to get the requested overview.
Homey.flow.getFlows().then(f => Object.values(f).reduce((r,b)=>Object.assign(r, {[b.name]:b.triggerCount}), {}));

3 Likes

Does anyone else notice the same problem/bug as me?

When a flow starts with the card “this flow started/deze flow is gestart”
the counter as described above is always 0.

Yes just noticed the same thing over here!

The same over here…

Thanks, bug reported.

1 Like

Hi Tomm,

Noticed that the issue is still there, do you know if and when this will be solved?

Nope, reported the bug but never heard from Athom again.