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

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.

Join me at 365 and PWR EduCon in Chicago
EduCon Chicago 2022

View solution in original post

4 REPLIES 4
Pstork1
Dual Super User
Dual Super User

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.

Join me at 365 and PWR EduCon in Chicago
EduCon Chicago 2022

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. 

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.

Join me at 365 and PWR EduCon in Chicago
EduCon Chicago 2022

Helpful resources

Announcements
Register for a Free Workshop.png

Register for a Free Workshop

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

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (2,085)