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

Check if flow is running from another flow

Hello!

 

I do need an advice on the matter is it is possible to check if another flow is running at the moment.
Basically I have a flow which I use for powerapps to delay the refresh of the data - it waits for some time while another flow is doing all the work inserting data (I don't have it in one flow because there is no way to put these actions together an not pay extra $$$ for it), so I need a flow which ideally would look like this:


- trigger from PowerApps

- waits 15 sec
- checks if another flow is running

- if yes: wait more, if no: go 

- answer to PowerApps

 

Is it even possible to do so?

 

Thanks!

1 REPLY 1
Highlighted
Super User II
Super User II

Re: Check if flow is running from another flow

Hello @bonifacious 

This sounds like you need to have a flag that indicates that the other flow is running. One way to do this would be to use a list for the flag.

The first flow when it runs, creates a unique flag item in the list, then invokes the other flow passing on the flag item id.

The second flow then updates the flag item with status completed when the flow finishes.

The first flow in the meantime has been polling the flag item, waiting for the status to become completed.

When the flag item status is completed, the first flow continues.

Would something like that work for you? 🙂

Kind regards, John

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
Users online (4,259)