cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
bsmith736464
Helper I
Helper I

Condition to Show Dates in Row Not Working

I setup a flow where a user inputs dates he wants data from.  If there any records within those dates then I have the flow update an Excel Row.  Currently the output is below but when I run the flow, I only get Enrollment ID #EI35074 to update and not both.  Any help would be greatly appreciated

 

Output:

[

{
"EnrollmentID": EI31563,
"LoginName": "qa3928402",
"StartDate": "2021-01-08T10:00:00Z",
"ExpiryDate": "2021-02-18T09:59:59Z",
},
{
"EnrollmentID": EI35074,
"LoginName": "qa480813",
"StartDate": "2021-01-08T10:00:00Z",
"ExpiryDate": "2021-03-13T09:59:59Z",
},
]

 

2021-02-19_13-55-34.jpg

1 ACCEPTED SOLUTION

Accepted Solutions
tom_riha
Super User
Super User

Hello @bsmith736464 ,

looking on the dates you added to the condition, it ends in the 'If no' branch because of the first condition '2021-2-19 is less than 2021-2-18' will return false, 19th is greater than 18th, not less.

image.png



[ If I have answered your question, please Accept the post as a solution. ]
[ If you like my response, please give it a Thumbs Up. ]

[ I also blog about Power Automate solutions even for non-IT people. ]

View solution in original post

1 REPLY 1
tom_riha
Super User
Super User

Hello @bsmith736464 ,

looking on the dates you added to the condition, it ends in the 'If no' branch because of the first condition '2021-2-19 is less than 2021-2-18' will return false, 19th is greater than 18th, not less.

image.png



[ If I have answered your question, please Accept the post as a solution. ]
[ If you like my response, please give it a Thumbs Up. ]

[ I also blog about Power Automate solutions even for non-IT people. ]

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (1,544)