I have a bot topic that at some point, needs to set a variable based on a choice the user has made in a previous part of the flow.
The problem is, the Choice field is not recognised as a same comparable type as Text, so my formula isn't working. I've had this issue before using Power fx with Power Apps, and I know that there is a way to reference the choice itself, rather than a text value, but there appears to be no "Choices" function built into the PVA side of things. Does anyone know how I reference the Choice correctly?
Here's a sample of the code not working below:
If(Topic.selectedColor = "Blue", true, false)
The error I'm receiving is:
Incompatible types for comparison. These types can't be compared: OptionSetValue(cr559_bot.topic.colorpickerflow.main.question_Ckz917), Text
Thanks