cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Flow runs every weekdays but sends a different email if that day is Monday, any clues?

 

I have a Flow that runs every day, except Saturday and Sundays, with a 'Recurrence'. 

Every day will run a 'Condition' and send an email, but if that day is Monday it will send a different email. I have tried with an expression: 'day Of Week()' is equal to '1' , but i think i am missing something inside the '( )'.

 

Is there any other way i can test if 'today/now' is Monday so the email for Monday can be sent? 
Thanks in advance 🙌

1 ACCEPTED SOLUTION

Accepted Solutions
Super User III
Super User III

Hi @Anonymous 

 

Please see below.

 

image.png

 

The above expression is as follows:

dayOfWeek(utcNow())

 

Here is my run result

 

image.png

The expression dayOfWeek will return an integer number that represents the day of the week for a date, where 0 is Sunday, 1 is Monday, .and so on, finally 6 Saturday

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog

Power Automate Video Tutorials

View solution in original post

1 REPLY 1
Super User III
Super User III

Hi @Anonymous 

 

Please see below.

 

image.png

 

The above expression is as follows:

dayOfWeek(utcNow())

 

Here is my run result

 

image.png

The expression dayOfWeek will return an integer number that represents the day of the week for a date, where 0 is Sunday, 1 is Monday, .and so on, finally 6 Saturday

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog

Power Automate Video Tutorials

View solution in original post

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!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

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 (59,072)