cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Give Sequence to Flow

Hi All, 
I want to give sequence to floe i.e. after one particular flow my another flow should run. Both are separate flows. How can I do that?

4 REPLIES 4
yashkamdar
Solution Sage
Solution Sage

Hello Team,

 

If both your Flows are running on SharePoint Lists/Libraries what you can do is create a custom column named FLAG in SharePoint List.

 

At the end of your first flow you can use update file properties/list item and set that flag to yes.

 

The second flow you can set a trigger such that when a list item is updated or file is modified then the Flow triggers.


So the idea here is whenever the first flow sets that flag (which is treated as a modified entry) the second flow will get triggered automatically.

 

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!

 

Austin828
Advocate II
Advocate II

Hello Team,

 

Your query seemed interesting so I just researched a bit on the internet to see if there is something Out of the box provided by the Flow team and I found something very useful.

 

There has been a concept called Parent and Child flow, you can define the Parent to your Child flow which is kind of a sequencing. 

 

This is a best practice and will surely help you out.

https://docs.microsoft.com/en-us/power-automate/create-child-flows

 

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!

 

Hey Mate,

 

@Austin828 

 

As mentioned by @yashkamdar child flow is one of the easiest option but both the flow should be in a Solution.

 

You can have a look at the tutorial at https://www.youtube.com/watch?v=_FAgOibUbI0 

 

Second option would be to build nested Flow https://flow.microsoft.com/en-us/blog/build-nested-flows/ but this requires premium license. 

 

 Third option would be, to decouple your Flows, for example. The ‘Decoupled’ or ‘Indirect’ approach, is to create a Flow in the Document Library to which we write the HTML file and that Flow should be set to an automatic trigger, such as ‘When a File is Created in a folder’, and then it writes the file to a different destination folder.

 

Flow 1 - Write the File to SharePoint Library(Library B).

Flow 2 - Flow B is connected to SharePoint Library(Trigger when a file is created). Flow B starts when Flow 1 writes the file to Library B.

 

I have used a similar approch at https://clavinfernandes.wordpress.com/2020/02/12/convert-multiple-power-apps-media-controls-from-pow... 

 

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!

 

 

 

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.

Users online (1,226)