Currently, I have a flow that creates SharePoint folders automatically on a timer and it works.. but the issue i'm having is if the folder already existed, the flow will get stuck on running and it doesn't move onto the action.
This is my flow:
It would be stuck on creating new consultant folders since there is already folders (1st time it'll run successful but afterwards it'll get stuck). Now, I tried changing the timeout value of each action so if it already existed, after 1 minute it should timeout and hopefully move onto the next action, but that didn't work...
Anyone know a way to either have the HTTP request to SharePoint set to skip if a folder with the name already existed or somehow make it time out after a minute so it can move onto the next action?
I basically want this flow to automatically create folders on a sharepoint site if there is new users added to a Azure group.
Hi @EdwardC ,
You could try setting Configure run after of the below action.
When the result of the execution of Create New Consultant Folders on Completed Folder is “is successful” and “has timed out”, the following actions are continued.
For more information on the use of Configure run after, please refer to Blog:
Please take a try.
Hi @EdwardC ,
Sorry I ignored this point. If this is the case, you could try to check if the corresponding Folder already has the same name as the Group Member Display Name before each execution of create folder action.
If there is, then do not execute create folder action, and execute the next action.
Do you mind providing an example?
I tried doing multiple conditions but it's not working the way I want it to be.
It compares to see if a folder has already been created for each of the group members by using List of Folders and checking if the name is in the path.
But I get emails for both.. even though the folder does exist in the Library
Features releasing from October 2020 through March 2021
We are excited to announce the launch of Power Virtual Agents Community. Check it out now!
We've updated and improved the layout and uploading format of the Power Automate Cookbook!
Fill out a quick form to claim your user group badge now!