cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
jleighton88
Level: Power Up

Creating approval when SharePoint folder is created

I am having issues building my approval flow.
My thought for the flow was
1. Folder (with misc files inside) is moved into an approval SharePoint document library.
2. Check if isfolder. (Only want a single approval request for the folder, not for files inside.)
3. If true, start and wait for approval.
Link to SharePoint folder in request.
4. If approved, email requestor the results.
Then, move the folder with files to an approved folder directory.
5. If denied, email requestor the results
Then move the folder with the files into a corrections folder..

I am having issues anytime I am dealing with a folder with contents instead of just a single file. Any help or guidance would be appreciated.
1 REPLY 1
Dual Super User
Dual Super User

Re: Creating approval when SharePoint folder is created

Hi @jleighton88 

 

You can use the when a file is created or modified trigger action for the approval library

 

then trigger your flow only when current item  isfolder=true (this is new in Flow where u can trigger flow conditionally - https://www.youtube.com/watch?v=j-gP-E6CCE4 (check this video on how to conditionally trigger flows)

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

 

 

 

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 294 members 5,601 guests
Please welcome our newest community members: