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
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 tips 768x460 v2.png

Restore a Deleted Flow

Did you know that you could restore a deleted flow? Check out this helpful article.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Users online (2,746)