I have to count the directory in a specific path.
I tried with a List Folder then with length of his body but it doesn't work.
It's beacause of the number of directory in it.
Thanks in advance.
Based on the context that you give, I did a reproduction of your issue on my side. Of course you can share us your flow, like @MarconettiMarco told.
Regarding my reproduction:
1st - My target directory:
2nd - My flow:
3rd - the expression that I used:
And, this was my result:
Hope this help you.
Please 'Thumbs Up' the posts that helped you and 'Accept as Solution' if my post answered your question.
I tried this solution but the result is not correct....
On my Compose appeared 100 but in this directory are almost 14.000 directory.
I have to count how many directories are into the root...
Thanks for helping me.
Sorry to hear that, I tried again on my side adding more file and folder within the root, and I was able to get the exact number that I was expecting.
Can you share your a flow on your side following the steps that I gave you? Just to understand if something is missing or if It needs something more to get it right.
Hi @edgarsimoes ,
for a realistic test you have to move almost 15.000 folders into the directory. I tried my flow with DEV environment and it works.
Keep up to date with current events and community announcements in the Power Automate community.
A great place where you can stay up to date with community calls and interact with the speakers.
Check out the latest Community Blog from the community!