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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Advanced Condition - t...
Power Automate
Answered

Advanced Condition - testing for time greater than a certain time of the day

(0) ShareShare
ReportReport
Posted on by 5

So, I have been hammering away at a seemingly simple flow.  The idea is, if i get an email after a certain time of the day, send an auto-response stating that all agents are off work, and for emergency support, follow a process..

 

So, I create the condition, testing the DateTimeReceived field like this:

 

@greater(substring(triggerBody()?['DateTimeReceived'],11,8), '17:00:00')

This is based on the following value in the incoming email object...

 

Received Time

2016-09-12T20:05:44+00:00
 

Yet, when an email pushes through the flow, I get the following message...

 

Reason
  • Code
    ActionDependencyFailed
  • Message
    The execution of template action 'Send_an_email' is skipped: dependant action 'Condition' completed with status 'Failed' and code 'ExpressionEvaluationFailed'.

I have looked around a bit, but was unable to find anything that helps me understand if this can work or not.  I did find this, which suggests I am in the right neighborhood, but have been unable to get an email through the condition check.

 

Any ideas on what I am doing wrong?  Any ideas on an alternative solution?

 

Thanks  

Categories:
I have the same question (0)
  • v-yamao-msft Profile Picture
    on at

    Hi DeBuigny,

     

    I created a similar simple flow with you, when an email is arrived, if the condition is yes, reply to email. And I configured the condition in normal mode to “Date Time Received is greater than 12:00:00”. When I got an email, a response email would be sent. Then I try to configure the condition in Advanced mode, the flow failed and error message “Action Dependency Failed” occurred. It seems that when we configure condition in advanced mode, the flow would be failed.

     

    For this issue, I would suggest you send a feedback by using the smile icon in flow.

    smile icon flow.PNG
     

     

    Best regards,
    Mabel Mao

  • DeBuigny Profile Picture
    5 on at

    Is that how you officially report a bug?  I tried that last week, but still haven't heard anything back.

     

    This seems pretty simple.  One thing that would be an excellent idea would be better feedback, like perhaps being able to hover over an expression and see the values behind them (particularly in an advanced condition)

  • Verified answer
    kkurni Profile Picture
    Microsoft Employee on at

    This is known bug similar to this issue as well.

    https://powerusers.microsoft.com/t5/Flow-Forum/How-do-you-use-AND/m-p/6929

     

    We also tracked this incident #23150632 and will update you once it fixed (hopefully this week).

     

    Thanks

  • kkurni Profile Picture
    Microsoft Employee on at

    This fix has beed deployed.

     

    Would you mind to retry again ?

     

    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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 398 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 331 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 203 Most Valuable Professional

Last 30 days Overall leaderboard