I want to build a flow will copy all files on Onedrive Business folder to Onedrive folder (diferrent account).
First i list all file in my folder on OneDrive Business
Then i do with each things i get
If no, mean this is a file, i get content and create file in my OneDrive account
But when i run it failed Please some one explain for me. i think it can not get value for condition from loop.
Here is a part of my output in "List files in folder" step
Solved! Go to Solution.
Dear @AlanPs1 ,
Thank you very much. i have done some modify on my flow, and now it work as i expected.
Please review it
Next step i will looking for how to recall this flow for all sub-folder.
Thanks for help
Hi @Posiden
I have recreated this and the condition is working for me, please see below:
condtion equalling true & false both working as expected and Flow runs successfuly at this stage.
So, I have recraeted this and the problem looks to be at your path. I have used:
replace(items('Apply_to_each')?['Path'],last(split(items('Apply_to_each')?['Path'],'/')),'')
I get the following error which is in line with yours:
So, it looks to not like your path.
If I set a simple path format such as "Test":
It works!
Note: You can only get 20 files using "List files in folder" also.
If you have found my post helpful, please mark thumbs up.
Any other questions, just ask.
Thanks, Alan
Proud to be a Flownaut!
Dear Alan,
As your instruction, i used a fixed destination folder and it worked. but i really want to dynamic destionation folder with same name on source folder. Can you help me?
Dear @AlanPs1 ,
Thank you very much. i have done some modify on my flow, and now it work as i expected.
Please review it
Next step i will looking for how to recall this flow for all sub-folder.
Thanks for help
Hello,
Trying to recreate this flow to convert word/excel files to PDF files. In your solution you have a Condition inside the Apply to each process. For the Condition you have (onedirve) Is folder? -> 'is equal to' -> fx true. When I try to select true from the functions I do not see it. What am i missing?
Regards,
John
Do not see the function true in the drop down.
User | Count |
---|---|
93 | |
39 | |
23 | |
20 | |
16 |
User | Count |
---|---|
130 | |
49 | |
46 | |
30 | |
25 |