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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Power Automate Desktop...
Power Automate
Answered

Power Automate Desktop If today is Monday then.

(0) ShareShare
ReportReport
Posted on by

Hello,

 

Pulling my hair out here trying to do something really simple.

 

If today is Monday (i.e dayOfWeek(utcNow()) = 1) then run x else y. 

 

I've went across documentation and other answers and they don't work for me?

 

I've tried dayOfWeek(utcNow()), dayOfWeek(%currenttime%), dayOfWeek(), Weekday( Now() ) in the if statement and as a variable but  the variable input always outputs as plain text, not as result of a formula. 

I have the same question (0)
  • GM95 Profile Picture
    on at

    savelol.png

  • Verified answer
    Pstork1 Profile Picture
    69,599 Most Valuable Professional on at

    PAD doesn't use functions the way Power Automate does. But if you get the current date you can then get the day of the week property and put that in a variable. Length is the property you want for the day number.

    image.png

  • GM95 Profile Picture
    on at

    Thanks for this. This worked excellently for me.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 167

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard