cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous_Hippo
Super User
Super User

Turn on and Off flow by feeding the start date and end date

Dear All,

 

Is it possible to start and end a Flow periodically by passing the Start and End Date (Via PowerApps or another flow) of when you expect the flow to run.

 

Right now i have to manually turn on and off a scheduled flow that runs everyday. I would like that process to be less manual 🙂

 

Thanks !!

1 ACCEPTED SOLUTION

Accepted Solutions

@Anonymous_Hippo 

You won't be passing the dates to the trigger.  Rather, the trigger will fire every day.  Immediately after the trigger check the dates that you have stored somewhere to determine if the Flow should continue.

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

View solution in original post

3 REPLIES 3
ScottShearer
Super User
Super User

@Anonymous_Hippo 

While I am not sure of your use case, I suggest that it might be easier to:

  1. Store your date values in a SharePoint list or other easily accessibly location
  2. When the Flow starts using a recurrence trigger, it checks the dates you have stored to determine if it should continue.  If not, exit the Flow using a Control terminate action (with success)

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

Hello @ScottShearer ,

 

Thank you for suggesting this- your suggestion would solve my issue. Could you please explain how values/dynamic values can be passed to the recurrence trigger since this is a trigger

Anonymous_Hippo_0-1652722395999.png

 

Can this piece be added in the later part of the flow ?

 

Thanks 🙂

 

 

@Anonymous_Hippo 

You won't be passing the dates to the trigger.  Rather, the trigger will fire every day.  Immediately after the trigger check the dates that you have stored somewhere to determine if the Flow should continue.

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (4,503)