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

Restarting a running flow

Hi All

I am currently trying to build a reminder flow for a reminder that needs to be restarted if that activity happens in the time period.  We have passes that need to be used within 30 days to remain active.  If they are not used, they are lost and difficult to regain.  As the pass is not always used daily by all, it can become a game of 'when did I last use it'. 

 

I have created a button to use that will set a reminder at day 25 to use the pass, but if the pass is used and the button pressed, that will have two flows running.  What I would like it when the button is pressed, for the flow to check if there is an active flow.  If there is, to cancel that flow and restart the time.  If there is not an active flow, to start the flow.  I think I need a condition, but not sure how to cancel existing flows.  

 

Any help is greatly appriciated!

 

Thanks

 

1 REPLY 1
Highlighted
Super User II
Super User II

Re: Restarting a running flow

Your description is quite hard to understand, but from what you have said your logic is not going to work.

 

Firstly you cannot cancel a flow from another flow.

 

It sounds like you need two flows.

 

1x Scheduled Flow that Checks each item on a daily schedule. something like:

get items

for each item perform condition on days >25

if true - email reminder

if false update item adding 1 to the days.

 

1x instant flow on button push that resets the amount of days to 0 for that pass

Helpful resources

Announcements
Upcoming Events

Experience what’s next for Power Automate

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

FirstImage

Microsoft Ignite 2020

Check out the announcement of Power Platform content at Microsoft Ignite!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (11,590)