Hi,
I am trying to create tech support bot with PVA. As the bot tries to help users, there is a repeated flow of questions where the user checks setting to see if it is correct, then changes it if it is not, and then checks if it resolves the issue.
I want to turn this questioning into a reusable topic. What I am struggling with is how to pass variables to the general topic, and then have that topic return some variable back to original topic at the place it was called.
Any suggestions and assistance is appreciated.
Note: Please excuse if this is a basic question as I am new to PVA. Also I am building this through Teams.
Thanks.
Hey @bottabotbot, if you create the general topic variable as a bot variable then you can just call it in the topic that it's directed to.
I know in some types of variables, you can actually pass the variable itself from one topic to the other - I know it's not available for variables that use multiple choice or your custom entities.
The downside with bot variables is that they stay a specific value until the session restarts or you build out a process (topic and possibly Power Automate flows) to reset the value. It would be an issue if someone needed to run through those general questions more than once on a specific session for some reason.