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

Will a turned off flow run once the trigger is in play?

Hello all,

 

I have a flow that is set to trigger once a year when the year rolls over. I have received an alert telling me that my flow is not running and will be turned off in 30 days. Does this mean that the flow won't trigger at the beginning of the year, or does it just mean that it won't run until then?

 

Regards,

Bronwyn

2 ACCEPTED SOLUTIONS

Accepted Solutions
v-litu-msft
Community Support
Community Support

Hi @Bron,

 

As a workaround, you could set the Recurrence trigger to run it every day.

Then use formatDateTime() function to convert current date to "MM-dd", for example, if the date is first day of one year, do the following steps, or do nothing:

formatDateTime(utcNow(),'MM-dd')

Screenshot 2021-04-06 144241.jpg

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Pstork1
Dual Super User III
Dual Super User III

The only way to keep it from being turned off for inactivity would be to change the recurrence trigger to activate more frequently.  I would set it to activate once a month on the first day of the month.  Then have the first step check to see if its January 1.  If not terminate the flow.



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

View solution in original post

5 REPLIES 5
Pstork1
Dual Super User III
Dual Super User III

Unless you turn the flow back on at some point prior to the recurrence trigger the flow will not run.  If you turn the flow back on it will trigger at the beginning of the new year.  But I would wait until November/December to turn it back on.



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

Is there any way of stopping it from being turned off?

v-litu-msft
Community Support
Community Support

Hi @Bron,

 

As a workaround, you could set the Recurrence trigger to run it every day.

Then use formatDateTime() function to convert current date to "MM-dd", for example, if the date is first day of one year, do the following steps, or do nothing:

formatDateTime(utcNow(),'MM-dd')

Screenshot 2021-04-06 144241.jpg

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Pstork1
Dual Super User III
Dual Super User III

The only way to keep it from being turned off for inactivity would be to change the recurrence trigger to activate more frequently.  I would set it to activate once a month on the first day of the month.  Then have the first step check to see if its January 1.  If not terminate the flow.



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

View solution in original post

Bron
Helper I
Helper I

Thanks to both of you. I have set it to trigger once a month, and will check it at the beginning of next month. Hopefully it will work!

 

Regards,

Bron

Helpful resources

Announcements
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (40,551)