cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jesslynh
Resolver I
Resolver I

What is wrong with this condition?

I have a flow that will be used to send an out of office message

It works fine until I add the 'and' portion below.  I have a compose statement that shows me that the information in the condition is returning the correct information.  Basically, we only want to send the OOO to internal users.  

But the flow is triggering on every in-house email, whether in the time/day parameters or not, but works correctly if sent from an external email.

FlowSS.png

1 ACCEPTED SOLUTION

Accepted Solutions
jesslynh
Resolver I
Resolver I

I actually solved this today.  If you are looking at the OR statements, I'm missing the leading '0' in 6:30.  

 

This could have been solved almost immediately if Microsoft let you see the conditional results when reviewing a flow run.  Big time sink for what was essentially a typo.  

 

Thank you for all of your help!

View solution in original post

6 REPLIES 6
abm
Super User
Super User

Hi @jesslynh 

 

Try the below

 

image.png



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials

Sorry, no luck there either.

Hi @jesslynh 

 

Thanks for your reply. Its two AND conditions you need I think and one OR and another group. Without seeing the data its difficult to evaluate it. Did you checked the run history and see if there is a record matching in that condition?

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials
jesslynh
Resolver I
Resolver I

Here is the entire flow.  The outputs in the Condition statement

Looking at the Sender Address for the And statements

Looking at the time, then day of the week in the Or section

jesslynh_0-1643310178175.png

jesslynh_1-1643310193265.png

jesslynh_2-1643310251314.png

 

 

Hi @jesslynh 

 

Thanks for your screenshot.

 

Your IF condition is wrong. There are two AND's in my screenshot. Try that and let me know.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials
jesslynh
Resolver I
Resolver I

I actually solved this today.  If you are looking at the OR statements, I'm missing the leading '0' in 6:30.  

 

This could have been solved almost immediately if Microsoft let you see the conditional results when reviewing a flow run.  Big time sink for what was essentially a typo.  

 

Thank you for all of your help!

Helpful resources

Announcements
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power automate tips 768x460 v2.png

Restore a Deleted Flow

Did you know that you could restore a deleted flow? Check out this helpful article.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Users online (2,786)