How to count all the toggles that are on using a microflow?

Hello! So, I'm trying to do a Counter that counts how many tasks I have after clicking on the toggle: here I have the attribute Count that it is supposed to bring back the microflow value, but it is not working.
1 answers

Hi Maria, 


In what way is it not working? Are you not getting any value for Count or is it a value that is different from what you are expecting? Also is this microflow an OnChange microflow attached to a toggle?


Part of your issue may be that the TaskList that you are generating the count for does not include either of the 2 new tasks you create in this microflow, which may lead to a count different than what you want, but its hard to say exactly what's going on without a little more context. 


Hope this helps !