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.
Thanks @sinnamora ,
please share also the error you got and the expression length you're using in the Condition control.
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.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Announcing a new way to share your feedback with the Power Automate Team.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.