cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Cooper01
Continued Contributor
Continued Contributor

Intentionally running a flow forever?

I want a flow to perform an action on a scheduled basis (let's say every 5 minutes). The catch is that the 5 in every 5 minutes needs to be configurable in some way other than editing the flow directly (therefore not able to use the schedule trigger). I was thinking I could store the minutes value in a Dataverse table and get it in my flow in a while loop, perform the action, and then delay based on that value before restarting the loop.

 

I think technically I could make this work but wondering if it's a bad design choice to have a flow running until it fails for some reason or it's no longer needed?

1 ACCEPTED SOLUTION

Accepted Solutions
tom_riha
Super User II
Super User II

Hello @Cooper01 ,

you can't build a single flow that would loop forever, every Power Automate flow will stop after 30 days automatically. I don't think there's a way to configure such flow anywhere else than in the trigger of a scheduled flow.



[ If I have answered your question, please Accept the post as a solution. ]
[ If you like my response, please give it a Thumbs Up. ]

[ I also blog about Power Automate solutions even for non-IT people. ]

View solution in original post

1 REPLY 1
tom_riha
Super User II
Super User II

Hello @Cooper01 ,

you can't build a single flow that would loop forever, every Power Automate flow will stop after 30 days automatically. I don't think there's a way to configure such flow anywhere else than in the trigger of a scheduled flow.



[ If I have answered your question, please Accept the post as a solution. ]
[ If you like my response, please give it a Thumbs Up. ]

[ I also blog about Power Automate solutions even for non-IT people. ]

View solution in original post

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Solution Authors
Users online (2,845)