cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jakubz
Helper II
Helper II

Date flow condition

Hello, 

 

I have a problem  with a flow condition. The condition suppose to look for days between two dates. StartDate and EndDate.

jakubz_0-1629707774565.png

But when I put the StartDate and EndDate the same values the condition sets as false. Which logically does not make any sense. 

Can somebody please help me ? 

3 REPLIES 3
eric-cheng
Solution Sage
Solution Sage

Hi @jakubz ,

 

Can you:

 

1) Output the parameters into a Compose and post a screenshot of all 3 dates

2) Ensure that all dates are in the same format e.g. yyyy-MM-dd

 

--------------------------------------------------------------------------
If I have answered your question, please mark my post as a solution
If you have found my response helpful, please give it a thumbs up

Connect on LinkedIn

eric-cheng
Solution Sage
Solution Sage

Hi @jakubz ,

 

As a test

 

StartDate and EndDate are date only fields

 

ericcheng_0-1629708419509.png

formatDateTime(utcNow(),'yyyy-MM-dd')

ericcheng_2-1629708461577.png

 

ericcheng_1-1629708434429.png

--------------------------------------------------------------------------
If I have answered your question, please mark my post as a solution
If you have found my response helpful, please give it a thumbs up

Connect on LinkedIn

 

 

jakubz_0-1629708712202.png

Thanks for help. but we modified the condition this way. Its not pretty but it works.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

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.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (1,713)