web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Help - Reply with a me...
Power Automate
Unanswered

Help - Reply with a message in a channel (MS Teams) | dayofweek

(0) ShareShare
ReportReport
Posted on by 18

Hi everyone!  Seeking some help with this automated cloud flow.  It's currently running 7 days a week, but I only want it to run Monday-Friday (1,2,3,4,5) and not during the weekend.  Can somebody assist with how I should add a dayofweek function/condition so that it only replies during weekdays?  Flow attached.  Thanks in advance!

Categories:
I have the same question (0)
  • Verified answer
    ManishSolanki Profile Picture
    15,091 Super User 2025 Season 2 on at
    Re: Help - Reply with a message in a channel (MS Teams) | dayofweek

    Hi @NewGuy313 

     

    To add condition for the flow to run only on weekdays, pls add a trigger condition.

     

    Click on ellipses menu(...) & select "Settings" from sub menu:

    ManishSolanki_0-1696961462826.png

     

    Scroll down to the bottom of the pop up and add a trigger condition:

    ManishSolanki_1-1696961631195.png

    @and(greater(dayOfWeek(utcNow()), 0),less(dayOfWeek(utcNow()), 6))

    Click Done to save the changes & re-test the flow.

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

    Thanks

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard