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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Customized Canvas Code
Copilot Studio
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:
I have the same question (0)
  • Leeyong88 Profile Picture
    108 on at

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

     

    From Demo Website:

    demoWebsite2.JPG

     

    From customized canvas code:

     

    CanvasCode.JPG 

  • CU22081450-0 Profile Picture
    Most Valuable Professional on at

    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

    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

    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 

  • 4LB3r7 Profile Picture
    on at

    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

  • Leeyong88 Profile Picture
    108 on at

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

     

    Greeting.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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 265 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 240 Super User 2025 Season 2

#3
S-Venkadesh Profile Picture

S-Venkadesh 101 Moderator

Last 30 days Overall leaderboard