cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
alsAdmin
New Member

Flow condition evaluating incorrectly

I have set up a test flow to score a quiz and have a condition set to test if the answer to the question is equal to false. No matter what answer is submitted, the condition is evaluating to No. I built the same flow yesterday and that seemed to be working when I built it but does not today. This test is the second build and I am getting the same issue. 

 

 

 

Screen Shot 2021-01-22 at 10.00.31 AM.png

Screen Shot 2021-01-22 at 10.15.25 AM.png

Screen Shot 2021-01-22 at 10.00.00 AM.png

Screen Shot 2021-01-22 at 10.00.23 AM.png

Screen Shot 2021-01-22 at 10.00.14 AM.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
Pstork1
Dual Super User III
Dual Super User III

Yes, what I was describing is common if you are using a choice question.  The other reason it might be happening is that this kind of comparison is case sensitive.  Since I think Forms capitalizes the choices it would match to True but not true.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

4 REPLIES 4
Pstork1
Dual Super User III
Dual Super User III

in your condition fill in the right side using 'false' in the expressions tab to insert the enumeration for false rather than the string "false".  This is a common issue when evaluating Booleans.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Thanks for the quick reply!  I tried that but it is still evaluating No.

 

Since the quiz choices were a string entered by me ("true" or "false" as options), I believe the condition would compare a string and not be a Boolean evaluation? Am I understanding that correctly?

alsAdmin
New Member

I changed the quiz choice options for the first question to "Correct" or "Incorrect" to clear up confusion on booleans and the flow for that question works correctly now.  

 

The "true" "false" questions are still evaluating incorrectly though. 

Pstork1
Dual Super User III
Dual Super User III

Yes, what I was describing is common if you are using a choice question.  The other reason it might be happening is that this kind of comparison is case sensitive.  Since I think Forms capitalizes the choices it would match to True but not true.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

Helpful resources

Announcements
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Top Solution Authors
Top Kudoed Authors
Users online (1,962)