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 / ActionBranchingConditi...
Power Automate
Unanswered

ActionBranchingConditionNotSatisfied

(0) ShareShare
ReportReport
Posted on by 4

Hello,

 

I am not sure why the auto message didn't pop up in general channel chat.  Please help.

 

Condition 1: expression 1: formatDateTime(items('Apply_to_each')?['Birthday'], 'yyyy-MM-dd')

Condition 1: expression 2:formatDateTime(addDays(utcNow(),+7),'yyyy-MM-dd')

 

Condition 2: expression 1: formatDateTime(items('Apply_to_each')?['Birthday'], 'yyyy-MM-dd')

condition 2: expression 2: formatDateTime(utcNow(), 'yyyy-MM-dd')

Leanne_1-1687076215893.png

 

 

  • Gidi Profile Picture
    601 on at

    Hi Leanne,

    your first condition result is ‚false‘ which executes the action under the ‚No‘ branch. 

    What do you want to check?

  • Leanne Profile Picture
    4 on at

    Hi Gidi,

     

    I want to set up a 5 days reminder for employee birthday to show up in the channel for the manager with channel 1, and the message pop up on the employee's birthday in the channel2.

     

    thanks,

    Leanne

     

    Leanne_1-1687120515721.png

     

     

  • Gidi Profile Picture
    601 on at

    Well, can you share the Condition that you set up for it. I assume you have swapped greater or less by mistake. 

  • Leanne Profile Picture
    4 on at

    Hello,

     

    here is my condition:

     

    1. formatDateTime(items('Apply_to_each')?['Birthday'], 'yyyy-MM-dd') --> screen shot below

    Leanne_0-1687883818059.png

     

    2. 

    formatDateTime(addDays(utcNow(),+5), 'yyyy-MM-dd')

    Leanne_1-1687883897002.png

     

    3. if yes then show the message in "general" channel 5 days prior to the birthday.

    Leanne_2-1687883956756.png

     

    Another condition is post the message in the general channel on the birthday date.

    3. formatDateTime(items('Apply_to_each')?['Birthday'], 'yyyy-MM-dd')

    Leanne_4-1687884159729.png

     

    The condition runs successfully but I didn't get the auto message in the general channel.  Not sure what I did wrong.

     

    Thank you in advance for your advice.

    Leanne

     

     

     

     

  • Gidi Profile Picture
    601 on at

    Hi Leanne,

    I would suggest to place two Compose action with the two formulas before the condition to debug the values for the condition. Perhaps the Birthday field contains something different than you expect. 

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

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 289

#2
11manish Profile Picture

11manish 288 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 125

Last 30 days Overall leaderboard