I'm trying to get to grips with the Copilot Agent Creation Workflows, and in the Topic creation Compartiment I encountered problems with the Boolesch logic, for example no matter what was value was chosen "Yes/No" the Flow always followas the Case: "true" path. Does someone else encounter the same problem? Am I doing something wrong (though the bug was occuring in the predifined topics) or is it really a Prod bug?
Yes, this looks like the Boolean response isn’t always interpreted reliably in the standard question node. A workaround that has been consistent for me is to use an Adaptive Card with explicit Yes and No buttons, then branch on the Boolean value returned from the card. See the images below.
In my card, the question “Do you like this shoe?” is rendered with two buttons:
Button Yes submits var1 = true.
Button No submits var1 = false.
Then in the next step of the topic I add two conditions:
If var1 (boolean) is equal to true → go to the Yes path.
If var1 (boolean) is equal to false → go to the No path.
This has been more reliable because the user is clicking a fixed value, rather than the agent trying to infer a Boolean from typed input.
✅ If this helped solve your issue, please Accept as Solution so others can find it quickly.
❤️ If it didn’t fully solve it but was still useful, please click “Yes” on “Was this reply helpful?” or leave a Like :).
🏷️ For follow-ups @Sajeda_Sultana
Was this reply helpful?YesNo
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.