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?
@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 🤣
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)
Pablo Roldan
25
Romain The Low-Code...
23
stampcoin
10