cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

Flow reccurrence on different hours and different minutes

Hi, I'm quite new to Power Automate and Flows. As a school we just started using Microsoft Teams for our students since this unfortunate situation with the Covid-19. 

I am trying to send a notification to all users in Teams to simulate a school bell (multiple occurrences a day). I've managed to create the flow that works every day on one certain time stamp. But I can't figure out how to do multiple a day.

I see you can select multiple hours and multiple minutes, but not a combination of that two.

The flow has to start at these 6 time stamps: 9:00, 10:30, 10:45, 12:15, 13:00, 14:45

Is it possible within one flow or do I have to make 6 seperate ones? With this code, it will start every given hour on every given minute

 

 

{
    "recurrence": {
        "frequency": "Week",
        "interval": 1,
        "timeZone": "W. Europe Standard Time",
        "startTime": "2020-03-20T08:00:00.000Z",
        "schedule": {
            "weekDays": [
                "Monday",
                "Tuesday",
                "Wednesday",
                "Thursday"
            ],
            "hours": [
                "9",
                "10",
                "12",
                "13",
                "14"
            ],
            "minutes": [
                0,
                15,
                30,
                45
            ]
        }
    }
}

 

 

 Hope someone can help.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
New Member

Re: Flow reccurrence on different hours and different minutes

I think I have it.

I will let the flow start on all occurences. When it starts, it saves the current time as a string variable

convertTimeZone(utcnow(),'UTC','W. Europe Standard Time','HH:mm')
Then with a condition I check if the value is the same as one of my time stamps. If so I go on, if not it stops.

View solution in original post

6 REPLIES 6
Highlighted
Dual Super User III
Dual Super User III

Re: Flow reccurrence on different hours and different minutes

Not 100% sure, but I think you need at least 4 different flows. If so, you can use 'Save as' option to replicate your flow, then edit manually trigger on the copy.

Let's hope somebody else can point us to a easier approach

Thanx!



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



Highlighted
New Member

Re: Flow reccurrence on different hours and different minutes

Yea, I figured out I could do it with 4 flows. But rather, if possible, I would like to make only one. If something has to change later, I would have to change all 4.

I was thinking about starting it on all occurences and in the next step to compare the current time with the different timestamps. If the current time is equal to one of those 6, I could go on or otherwise stop the flow.

But have no idea how to do it.

Highlighted
Dual Super User III
Dual Super User III

Re: Flow reccurrence on different hours and different minutes

Hi!

I was just thinking... you can have a single flow starting at the first ringbell, then use 'Delay' action block to start the next ringbell and so on.

Hope this helps



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



Highlighted
New Member

Re: Flow reccurrence on different hours and different minutes

That is an option, yes

But I think it's not ideal. I will have to repeat the same process multiple times and again, when something has to change in the flow, I have to change it multiple times.

I will try it for now, but hope there will be other suggestions too

Highlighted
Dual Super User III
Dual Super User III

Re: Flow reccurrence on different hours and different minutes

Hi!

I understand your concerns. Let's hope somebody else can point us to a more elegant simpler approach

Ánimo!



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



Highlighted
New Member

Re: Flow reccurrence on different hours and different minutes

I think I have it.

I will let the flow start on all occurences. When it starts, it saves the current time as a string variable

convertTimeZone(utcnow(),'UTC','W. Europe Standard Time','HH:mm')
Then with a condition I check if the value is the same as one of my time stamps. If so I go on, if not it stops.

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (6,597)