Hello,
I have the following flow in place and I need to add a step that if the folder already exists on create new folder that it skips that section and completes the following steps after:
I did found Solved: Sharepoint Create File - Skip for files that alrea... - Power Platform Community where it suggested adding a scope action, is this the best way to resolve it?
Solved! Go to Solution.
Hi @shelleyb ,
No problems.
You dont really need the parallel action.
Have a look at this blog and it should clear it up. Put your create folder and create sharing link in the try block and put everything else in the finally block.
Try - try doing these actions
Catch - if error occured in try, run these
Finally - run these avtions regardless of success/fail
--------------------------------------------------------------------------
If I have answered your question, please mark my post as a solution
If you have found my response helpful, please give it a thumbs up
Connect on LinkedIn
Hi @shelleyb ,
Yes, the scope and configure run after action method will work.
The other way is to check for the folder but will require loops depending on how many folders there are.
Pretty sure theres also a SP API to check if a folder exists but again, does the same job as option 1
--------------------------------------------------------------------------
If I have answered your question, please mark my post as a solution
If you have found my response helpful, please give it a thumbs up
Connect on LinkedIn
thanks @eric-cheng silly question when I add the scope as a parallel action I'll just need to add the proceeding steps on that side, so something like these
Hi @shelleyb ,
No problems.
You dont really need the parallel action.
Have a look at this blog and it should clear it up. Put your create folder and create sharing link in the try block and put everything else in the finally block.
Try - try doing these actions
Catch - if error occured in try, run these
Finally - run these avtions regardless of success/fail
--------------------------------------------------------------------------
If I have answered your question, please mark my post as a solution
If you have found my response helpful, please give it a thumbs up
Connect on LinkedIn
Perfect! thank you 🙂
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Did you know that you could restore a deleted flow? Check out this helpful article.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
User | Count |
---|---|
32 | |
32 | |
24 | |
24 | |
21 |
User | Count |
---|---|
64 | |
57 | |
43 | |
37 | |
29 |