cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Flowme
Level: Powered On

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
Super User

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
Super User

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

Community Support Team
Community Support Team

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.
Flowme
Level: Powered On

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

banjoman
Level: Powered On

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.  

Mr89
Level: Powered On

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!

JimmyWork
Level 8

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
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: 92 members 5,494 guests
Please welcome our newest community members: