cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
pvittal
Regular Visitor

bulk document approval (in a folder)

Hi there,

 

I have a requirement where a set of documents need to get approved together (a memo and supporting documents). How can we achieve this in Flow?  Can Flow iterate thru a subfolder of documents and then approve them in parallel or sequentially?

Thanks,

Pradeep

 

2 REPLIES 2
v-bacao-msft
Community Support
Community Support

Hi @pvittal,

 

Do you mean that every file in the specified folder needs to be approved?

I did the test here, you could configure Flow as follows.

The approval process for the second file will only begin if the current file approval is completed.

  1. You could use Get files(properties only) to get all the files in the library.
  2. Then configure Filter array action to filter the files in the specified folder.
  3. Configure Apply_to_each to traverse the filtered files and use "items(‘Apply_to_each')[‘ColumnName’] to get the contents of Filter array output.

Image reference:

2.PNG

Please take a try.

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

I'm trying to do something similar, but I'm wondering what alternatives there are to sending each request successively after the approval is registered. Is there a way to batch up all the approvals into one mail? I can't see how I would give the recipient the ability to approve each file individually.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Top Kudoed Authors
Users online (3,504)