cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Advocate I
Advocate I

Can you set an automated flow to stop processing after 10 minutes

Hi, 

   I have a flow that reads through an online Sharepoint Excel Spreadsheet looking for new entries and have filtered the List Rows present in a table to return about 60 rows that are active.

 

   Twice now a flow just keeps running (14 hours this time) and subsequent flows also just start running and never finish although the odd one finishes correctly. The process should run every 15 minutes so if after 10 minutes, I would like the flow to die no matter where it is up to and email us that it has failed. Is this something that can be done easily?

  

  Secondly DAK why this might occur. We do have three or four editors in the sheet at anytime but this was around midnight.

 

Thanks

skillsy_0-1602282435745.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
Dual Super User II
Dual Super User II

@skillsy 

Try the below solution at the beginning of your flow after the recurrence trigger add a parallel branch with the desired delay, Send Email and call the Terminate Action this will stops the execution of your flow.

 

You can change the Message and code of the Terminate Action below:

Mira_Ghaly_0-1602325056831.png

Mira_Ghaly_1-1602325157049.png

 

Hope this makes sense!

 

 

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

View solution in original post

2 REPLIES 2
Dual Super User II
Dual Super User II

@skillsy 

Try the below solution at the beginning of your flow after the recurrence trigger add a parallel branch with the desired delay, Send Email and call the Terminate Action this will stops the execution of your flow.

 

You can change the Message and code of the Terminate Action below:

Mira_Ghaly_0-1602325056831.png

Mira_Ghaly_1-1602325157049.png

 

Hope this makes sense!

 

 

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

View solution in original post

Thank you @Mira_Ghaly  for the exceedingly well explained process however will this not fail every time at 10 minutes even if the work branch was successful?

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (38,787)