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
abm
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 blogPower Automate Video Tutorials

View solution in original post

1 REPLY 1
abm
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 blogPower Automate Video Tutorials

View solution in original post

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

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

Users online (86,072)