Skip to main content

Notifications

Copilot Studio - General
Answered

Multiple Topics Matched - Set variable to value

Posted on by 24

Dear community,

I'm currently struggeling with the "No valid entity found" options in the "Multiple topics matched" system topic.

LimeLeaf_2-1713951117224.png


As a default value there is escalate selected. But instead of esecalating when the user do not select a value provided from the bot, I want to use the "Set variable to value" as "Action if no entity found". This way I want to let the users run into the Fallback topic and let them reprompt there entry.

I tried different values but somehow I do not get the record right the question needs:

LimeLeaf_3-1713951301429.png


I tried the following entrys as records:

{ DisplayName: "Non of these", TopicId: "NoTopic", TriggerId: "NoTrigger", Score: 1.0 }

[{ DisplayName: "Non of these", TopicId: "NoTopic", TriggerId: "NoTrigger", Score: 1.0 }]

{TopicId: "NoTopic"}


Error Message: Variable is being set to an incorrect type. Assigned: String, expected: Record

What am I doing wrong here?

Cheers

Categories:
  • Re: Multiple Topics Matched - Set variable to value

    Hi @LimeLeaf ,

    Thank you for sharing, I have gained some knowledge.

    Thank you for your support of the forum.

    You can mark your reply as a solution.

     

    Best Regards,

    Sunshine Gu

  • Verified answer
    LimeLeaf Profile Picture
    LimeLeaf 24 on at
    Re: Multiple Topics Matched - Set variable to value

    Found the solution.

    Record to enter:
    { DisplayName: "Non of these", TopicId: "NoTopic", TriggerId: "NoTrigger", Score: 1.0 }


    You just have to select "Formular" at the "Default entity value" and insert the record:

    LimeLeaf_1-1713956358388.png

     


    This is working for me.

    Another solution is to direclty add it in the code editor.

Helpful resources

Quick Links

Exciting News for Copilot Studio Communi…

Get ready to experience a whole new level of engagement with the Copilot Studio…

Celebrating the May Super User of the…

LaurensM is an exceptional contributor to the Power Platform Community…

Check out the Copilot Studio Cookbook…

We are excited to announce our new Copilot Cookbook Gallery in the Community…

Leaderboard

#1
renatoromao Profile Picture

renatoromao 6,459

#2
Pstork1 Profile Picture

Pstork1 1,997

#3
Expiscornovus Profile Picture

Expiscornovus 1,708

Leaderboard