Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Copilot Studio - General
Answered

Multiple Topics Matched - Set variable to value

(0) ShareShare
ReportReport
Posted on by 278

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:
  • v-yetonggu-msft Profile Picture
    on at
    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
    278 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.

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

🌸 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…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Copilot Studio - General

#1
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 25

#1
Pablo Roldan Profile Picture

Pablo Roldan 25

#3
stampcoin Profile Picture

stampcoin 10

Overall leaderboard