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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / PVA Chatbot Factorial ...
Copilot Studio
Unanswered

PVA Chatbot Factorial Conditions

(0) ShareShare
ReportReport
Posted on by 3

Hello All,

 

I am trying to build a chat-bot in Teams that can be used in classroom / educational simulations. When the bot is started, it asks a question and the user is presented with 8 multiple choice options which creates 8 conditions to contain the variable for the selected response. Depending on the response, the user selects I want the bot, in the next question, to present the other 7 options as possible responses. I want this to continue until, no matter the order, the user has exhausted all 8 initial options.

The obvious problem with this is how many conditions this method necessitates-- ~40,320. This is too many for the PVA editor to handle. So, clearly, I need to split this into smaller topics. The issue I cannot figure out is how to account for selections made in previous topics and have those options dynamically disappear from topics to which the user is directed.

 

How can I build this simulation bot?

 

Thank you for considering this issue.

I have the same question (0)
  • Pstork1 Profile Picture
    69,026 Most Valuable Professional on at

    Whether this would work or not depends on how you need to respond to each topic chosen.  But I would try to create the equivalent of a matrix array using a closed list entity for the questions and a delimited string variable to record the questions that have been asked.  Pass the variable to a flow that will use it to filter out the list in the entity and return the available questions. Repeat until there are no questions left.  

     

    I'm not sure if my explanation is clear enough.  So let me know if it needs clarification.  The idea is to avoid the permutations entirely by processing the possible questions each round dynamically.

  • MCG87 Profile Picture
    3 on at

    I feel like I am on the verge of understanding your recommendation. Can you please go into a little more detail and clarification?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 279

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 222 Super User 2026 Season 1

#3
Arild Aarnes Profile Picture

Arild Aarnes 64 Super User 2026 Season 1

Last 30 days Overall leaderboard