web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : xdYZeXMnNEvtC9DKOFR4Gy
Copilot Studio - Calling Actions from Copilot S...
Unanswered

Can we do contex switching in PVA topics or PVA bots ?

Like (1) ShareShare
ReportReport
Posted on 28 Jan 2020 00:04:47 by

I was wondering is there is way to do/allow context switching between topics Topics or context switching between PVA bots.

For example,

User: I want to transfer $200 from my account
Bot: Sure, may I have your account number?
// (initiating Transfer Amount task)
User: It’s 2343544
Bot: What is the payee account number
User: Wait, do I have sufficient funds
// (context switching to Get Balance task)
Bot: What is your account number

  1. Ideally, Get Balance should not be asking for the account number.
  2. Ideally, bot should finish Get Balance task and then start Transfer Amount task.

 

Categories:
  • Community Power Platform Member Profile Picture
    on 03 Feb 2020 at 21:23:22
    Re: Can we do contex switching in PVA topics or PVA bots ?

    @renatoromao , I think it doesn't answer my question. I will elaborate on how I picture this scenario. 

    firstly, I consider 'Topics' from pva as Intents from luis. Is that how it should be ?

    So in my scenario bot has 2 intents. One Transfer money and second is check balance. So I pva I would need to have following topics


    Topic 1: transfer money ( accept payer, payee and account # )

    Topic 2: check balance ( by accepting account #)


    Are you suggesting to just use 'Condition node' to move user between topics ? Ex:- If Bot is asking account number, the entity expected is number, but if user types string, that means assume it as a new utterance and, navigate to a topic ? 

    If yes, I would imagine INTENT detection has to happen first on the new utterance and if it says matching topic is 'check balance' then only navigate to that node.

     


    I didn't understand following statement of yours,

    "because you cannot create a principal topic to call another topic and when you finish the actions inside the subtopic to continue the principal topic."

    Also I don't see there is out of box ability to come back to same topic which was left. 
    Example: 


    User: Book  my flight to Singapore.

    Bot: when you want to travel ?

    User: Do I need a Visa for Singapore ?

    ( Bot triggers FAQ (as matching topic found )

    Bot: Yes, you need a visa to visit Singapore for business or tourism. 

    Bot: Would you like to begin the topic you left earlier ?  ----------- ( can PVA do something like this?.)

     

     

     

  • CU22081450-0 Profile Picture
    Most Valuable Professional on 28 Jan 2020 at 01:43:43
    Re: Can we do contex switching in PVA topics or PVA bots ?

    @Anonymous ,

     

    I recommend that you create one topic for each thing and use the "Go to another topic" to move the user between topics because you cannot create a principal topic to call another topic and when you finish the actions inside the subtopic to continue the principal topic.

     

    First topic: Get name, account or something like that. 

    Go to the "Second" topic.

    Second topic: Send value, money or something like that.

    Go to the "Third" topic.

    Third topic: Get feedback and finish the chat with the user.

     

    If this answer resolves your problem, please, make as a solution to help more users!

     

    Thanks 🙂

     

  • Community Power Platform Member Profile Picture
    on 28 Jan 2020 at 01:27:12
    Re: Can we do contex switching in PVA topics or PVA bots ?

    Thanks.

     

    How to make sure bot triggers old topic again once new task is finished ?

  • CU22081450-0 Profile Picture
    Most Valuable Professional on 28 Jan 2020 at 00:30:57
    Re: Can we do contex switching in PVA topics or PVA bots ?

    Hi @Anonymous ,

     

    Yes, you can move to another topic.

    Remove the "End the conversation" card and add a new task, click on the "Go to another topic".

     

    And you can call the Power Automate to execute the money transference.

     

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.

Helpful resources

Quick Links

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 169 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 150

#3
sandeep_angara Profile Picture

sandeep_angara 75 Super User 2025 Season 2

Featured topics

Loading complete