Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Copilot Studio - General
Unanswered

Customized Canvas Code

(0) ShareShare
ReportReport
Posted on by 108

Hi, 

 

I have applied this set of code on this page to start conversation, it works well. 

https://docs.microsoft.com/en-us/power-virtual-agents/configure-bot-greeting

 

But fallback system doesn't turn out correctly with this set of code.

 

In my Demo Website, fallback topic apply correctly.

DemoWebsite.JPG

 

But in my customized code, copy from https://docs.microsoft.com/en-us/power-virtual-agents/configure-bot-greeting , fallback topic has minor changes following. 

 

StartConversation.JPG

 

Any idea to fix?

 

Regards, 

Lee Yong

Categories:
  • Leeyong88 Profile Picture
    108 on at
    Re: Customized Canvas Code

    @4LB3r7, attach with the Greeting screenshot. Thanks for investigate and follow up on this. Appreciate it. 

     

    Greeting.JPG

  • 4LB3r7 Profile Picture
    on at
    Re: Customized Canvas Code

    Hi @Leeyong88,

     

    Could you please share the screenshot of your greeting topic?  I guess there is question node in your greeting topic. In that case, the user is trying to say something in the middle of the conversation, which is not expected by the bot (the bot asks some question and wait the user to answer). The fallback topic only works when there is no active pending question.

     

    Thanks

  • CU22081450-0 Profile Picture
    Most Valuable Professional on at
    Re: Customized Canvas Code

    Maybe your current scenario should be work normally, but it's not working in this case.

    I will tag the Microsoft staffs and they can help you better.

    @CleberM  @Diganta @ggupta  @mivakoc @MarKol 

  • Leeyong88 Profile Picture
    108 on at
    Re: Customized Canvas Code

    Hi @renatoromao , thanks for your fast response. I have published my latest BOT topics and wait more than 30 minutes. But the outcome still different as per my screen shoot.

     

    For the different messages case, in my Demo BOT, it detect one trigger phrase and offers few topics. I use the same word in my custom canvas, it seems applied "unrecognized trigger phrase ", therefore it routes to System Fallback. 

     

    Is that possible the set of coding make same changes? I do not understanding coding so well, only modified those part that required necessary changes.

     

    Thanks for advise. 

     

    Regards, 

    Lee Yong

  • CU22081450-0 Profile Picture
    Most Valuable Professional on at
    Re: Customized Canvas Code

    Hi @Leeyong88 ,

     

    Regarding your System fallback issue, did you publish again your bot? 

    Did you wait for 30 minutes? Maybe you can get the last version with no System Fallback implemented.

     

    Regarding the different messages, in the first message, the chatbot understands one of the words in the topics or you prepare the system fallback with this message.

    And the second situation (custom canvas), the chatbot don't understand your word and it's not prepared to System Fallback.

     

    I recommend you to use phrases and not WORD because all chatbots and AI bots are prepared to receive the phrase and recognize this to do a specific thing. Using PVA, the best practice is using phrases.

  • Leeyong88 Profile Picture
    108 on at
    Re: Customized Canvas Code

    Also, I found the outcome from Demo Website and Customized Code become different.

     

    From Demo Website:

    demoWebsite2.JPG

     

    From customized canvas code:

     

    CanvasCode.JPG 

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 the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Copilot Studio - General

#1
Pablo Roldan Profile Picture

Pablo Roldan 33

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 25

#3
stampcoin Profile Picture

stampcoin 10

Overall leaderboard