Notifications
Announcements
I'm a super newbie with power virtual agents and bot, I'm trying to create a simple bot that answers about a SharePoint list.
My first basic topic asks for the license plate number and answers with the name of the owner of the car and it works fine until I use a nonmatching license plate number, in that case, the flow returns a string with "0" (I've also tried with "Empty") but condition fails to recognize the "0"
How can I compare the output value from the flow inside the bot?
Hey @DPozzi I tried a simple version with zero returned as a string and when it made it to PVA, it recognized it as a number. Can you post more screenshots? Maybe there are extra spaces -or it may just be easiest to convert the string in the flow.
The flow:
The flow output does come in as text, but when I run it, the condition does match to the 0 number
It may just be easiest to add a condition action in your flow and if the variable comes back as 0 then have the flow set the variable to something like "Nothing found" or if something did come back set it to the returned value.
(This may also help uncover why it's not coming through to PVA and matching what you have in the PVA condition)
@gregmarbais Thanks for answering me, my fault... I was looking at it all the time but I wasn't seeing it!
in the condition, I've used the "varTarga" but the flow output is "Assegnatario" silly me 😅
as soon as I used the right variable it started to work fine... as my professor always says: **bleep** in **bleep** out 🤣
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Michael E. Gernaey 255 Super User 2025 Season 2
Romain The Low-Code... 205 Super User 2025 Season 2
S-Venkadesh 101 Moderator