cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Approval Flow on multiple SharePoint Libraries

Hello everyone Smiley Happy

 

I'm trying to build an Approval Flow that runs on several SharePoint Document Libraries.

The Approval Flow itself looks something like this. 

2019-06-05 13_11_20-Window.png

 

In the Document Library users can start the Flow with a click on a Button (column formatting used).

2019-06-05 11_56_24-Window.png

 

My problems start when I want to deploy the Flow for the different sites, because I didn't find any options to have dynamic site URLs for the Flow actions. 

Is there a way to get the individual site URL from the SharePoint Library into my Flow or pass parameters to my Flow, so I can make it more dynamic?

 

I already did some researching:

http://johnliu.net/blog/2019/3/one-flow-to-handle-them-all

https://veenstra.me.uk/2019/04/29/microsoft-flow-deploying-flows-to-all-your-project-sites-or-maybe-...

https://wonderlaura.com/2019/03/14/run-a-flow-as-part-of-a-sharepoint-site-design/
...but I'm not quite sure if they fit my scenario?

 

Thanks for any advice

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User II
Super User II

Re: Approval Flow on multiple SharePoint Libraries

Unfortunately you can't link/share a Flow between document libraries at this time. If this is functionality you would like to see added to Flow or a Flow Template, please consider submitting it to the Flow Ideas page, where it can be voted on by other users, and tracked and commented on by the Flow team.

Some workarounds for the time being would likely be a PowerApp that users could use to change the approval status across all document libraries, or create secondary Flows for each document Library and nest the Flows with the main Flow. 

For more information about nesting Flows, see the How to build nested flows with the HTTP action bog post. The Get started with the request and response components documentation, and Calling Microsoft Flow from your application blog post may also be helpful. 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

6 REPLIES 6
Highlighted
Super User II
Super User II

Re: Approval Flow on multiple SharePoint Libraries

Unfortunately you can't link/share a Flow between document libraries at this time. If this is functionality you would like to see added to Flow or a Flow Template, please consider submitting it to the Flow Ideas page, where it can be voted on by other users, and tracked and commented on by the Flow team.

Some workarounds for the time being would likely be a PowerApp that users could use to change the approval status across all document libraries, or create secondary Flows for each document Library and nest the Flows with the main Flow. 

For more information about nesting Flows, see the How to build nested flows with the HTTP action bog post. The Get started with the request and response components documentation, and Calling Microsoft Flow from your application blog post may also be helpful. 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

Highlighted
Community Support
Community Support

Re: Approval Flow on multiple SharePoint Libraries

Hi @Flowme ,

 

Do you want to apply the current Flow as a template to multiple SharePoint libraries?

It seems that you could consider the following methods, use Save as to save a copy of Flow, and then change SharePoint site address and Library in the copy.

12.PNG

 

You could also consider using Send a copy to create a template and send it to yourself, so you could easily use this template and apply it to multiple SharePoint libraries.

For more details on Send a copy, please refer to the following blog:

https://flow.microsoft.com/en-us/blog/send-a-flow-as-a-copy/

 

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.
Highlighted
Frequent Visitor

Re: Approval Flow on multiple SharePoint Libraries

Thank you both for the responses. 
@v-bacao-msftYes I want to use the Flow for multiple libraries. The "Save As" method is rather a workaround for me, due to the large number of libraries I have to connect. This would mean constant manual work if new libraries get created or deleted.

 

I was hoping there was a smarter way to deal with this -> one Button to start the Flow, that refers to one global Flow, that can deal with dynamic library URLs. (Brad_Groux taught me a better one Smiley Tongue

Highlighted
New Member

Re: Approval Flow on multiple SharePoint Libraries

If you used John Liu’s example and subscribed to the SharePoint audit log, could you use your Approval button to set the File Status (or some other column) to a value that could then be used to filter out events from the audit log.

 

i am doing something similar, but without the Approval button.  

Highlighted
Frequent Visitor

Re: Approval Flow on multiple SharePoint Libraries

Hi @Flowme 

 

I'm trying to creat a flow very very similar to yours. Would you mind sharing a screensot of how the flow works (expandingeach flow stage).

 

Would be great if you could!

Highlighted
Power Participant
Power Participant

Re: Approval Flow on multiple SharePoint Libraries

@Flowme Did you solve this? Im trying to do the exact same thing. Is it possible for you to post how you did this?

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

Top Solution Authors
Top Kudoed Authors
Users online (7,213)