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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Users online (1,870)