Hi,
I am trying to recreate a bot in PVA from Bot Framework SDK and am stuck in a loop because PVA seems to be hanging onto an Entity.
Example to explain the scenario in the Bot Framework SDK:
User enters: "show me the rider details for Bernard Kerr"
- The bot returns a card with the Bernard's details.
User then enters: "rider details for Aimi Kenyon"
- The bot returns a card with Aimi's details.
If the user enters: "show me rider details"
- The bot returns the question, "What is the name of the rider?"
Creating this in PVA in the Topic I select "Skip the Question" so that the user is not asking "show me the rider details for Bernard Kerr" and then getting the response, "What is the name of the rider?"
The Problem:
In the scenario above, how I have created this in PVA, if I enter:
"show me the rider details for Bernard Kerr" I get that fine.
When I then enter: "rider details for Aimi Kenyon" and I get Bernard's card again.
I assume that PVA is skipping the question the second time as the Entity is already populated, disregarding the fact the user input has changed.
So, how can I clear the variable held in the Entity at the end of the Topic, without showing any other messages from the bot.
Or is this just not possible yet?
I could set the Topic to 'Ask the question every time', for the name Entity, but that looks horrible when the user has provided the name already.
Thanks.