In a Condition block, how do I test a variable to see if is an empty string? The authoring environment shows an error if I leave the value empty.
Solved! Go to Solution.
@mscherotter, are you trying to handle a return variable from a flow and do a condition in PVA based on that? I had the same issue and I had to add some logic in the flow to set the value of the variable to "NotFound" and then pass that back into the PVA so that the condition had something to select. Yes i know, workaround to fix a simple feature gap but you know... Let's be agile!
Hi @mscherotter ,
The user cannot send an empty value on chat. If the user sent " " (space + enter), the system show this message:
"Could you tell me that using text? Currently, I do not process other kinds of inputs."
So, you don't need to validate empty or null variables on the chat.
@mscherotter, are you trying to handle a return variable from a flow and do a condition in PVA based on that? I had the same issue and I had to add some logic in the flow to set the value of the variable to "NotFound" and then pass that back into the PVA so that the condition had something to select. Yes i know, workaround to fix a simple feature gap but you know... Let's be agile!
Thanks for reporting it guys, we're considering and investigating on this feature request now.
-Jeff [MSFT]
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
Check out Tomasz Poszytek's session from the 2020 Power Platform Community Conference!