Hello,
I designed a flow that runs every day at the same time and it works perfectly. It sends an email with the daily report to all the team leaders.
I need it to only send the email on Monday-Friday since the office doesn't work on the weekends. How can I do this?
Hi there! Check out this thread which, I think, is doing the same thing.
Let me know if that helps.
-Ed-
If you liked this reply, please give it a thumbs up! If this reply has answered your question or resolved your challenge, please consider marking it as a Solution. This helps other users find it more easily via search.
Hi @kpiana
Please see the below image & code:
formatDateTime(body('Current_time'), 'dddd')
There are other ways, but based on what you have provided formatting the date using 'dddd' will give you the literal day of the week. Monday through Sunday.
If you find my posts helpful, please mark with thumbs up
If this solves your issue, please click "Accept as Solution"
Any questions, just ask.
Thanks, Alan
Proud to be a Flownaut!
Hi @kpiana,
Has your problem been solved?
If your problem has been solved, You could go ahead and mark the post as solved by clicking “Accept as Solution” so that this thread will be marked for other users to easily identify!
Best Regards,
Community Support Team _ Lin Tu
User | Count |
---|---|
61 | |
52 | |
48 | |
28 | |
17 |
User | Count |
---|---|
26 | |
26 | |
22 | |
22 | |
21 |