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

Automate emails on control conditions

I am not sure if I am on the right track here and I don't think I can test these variables so any feedback is appreciated. I am trying to automate the sending of an email based on the week of the month, even week and odd week will have a different email. Is this correct:

bcaulder_0-1597696382167.png

 

2 ACCEPTED SOLUTIONS

Accepted Solutions
Pstork1
Dual Super User
Dual Super User

Please break your screenshot up into multiple images.  Its almost impossible to read any of the details.



-------------------------------------------------------------------------
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

v-litu-msft
Community Support
Community Support

Hi @Anonymous,

 

The return of dayOfWeek() function is the day of the week from the specified timestamp where Sunday is 0, Monday is 1, and so on.

So the condition on the right side that Monday is not correct, please use integer 1 instead.

 

To learn more function about date and time, please refer to this document:

https://docs.microsoft.com/en-us/azure/logic-apps/workflow-definition-language-functions-reference#date-and-time-functions

 

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

2 REPLIES 2
Pstork1
Dual Super User
Dual Super User

Please break your screenshot up into multiple images.  Its almost impossible to read any of the details.



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

Hi @Anonymous,

 

The return of dayOfWeek() function is the day of the week from the specified timestamp where Sunday is 0, Monday is 1, and so on.

So the condition on the right side that Monday is not correct, please use integer 1 instead.

 

To learn more function about date and time, please refer to this document:

https://docs.microsoft.com/en-us/azure/logic-apps/workflow-definition-language-functions-reference#date-and-time-functions

 

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.

 

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.

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.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Users online (1,829)