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 / Issue with Topic Cance...
Copilot Studio
Suggested Answer

Issue with Topic Cancellation in Coplit Studio bot on Teams

(0) ShareShare
ReportReport
Posted on by

I am experiencing an issue with the topic cancellation functionality in our copilot studio deployed on Microsoft Teams. We have implemented a flow that involves 4-5 topics to loop over a list of PDFs, generate summaries using generative answers, and write the responses to an Excel sheet.
 

Current Implementation:

  • The virtual agent processes multiple topics to handle PDF summarization and updates an Excel sheet.
  • We tried implementing a cancellation flow by adding trigger phrases to stop the flow midway, if needed.
     

Expected Behavior: The virtual agent should immediately cancel the ongoing flow and stop execution upon receiving the cancellation command.


Current Behavior: The virtual agent does not cancel the flow immediately. It only shows the cancellation message after all topics have been executed.


Steps Taken:

  1. Added trigger phrases for cancellation.
  2. Published the bot to Microsoft Teams.


Questions:

  1. Has anyone faced a similar issue with topic cancellation in copilot studio  bot on Teams?
  2. Are there any best practices or specific configurations needed to ensure immediate topic cancellation?
  3. Could there be common pitfalls or mistakes that I might be overlooking?
     

Any insights or suggestions would be greatly appreciated. Thank you!

I have the same question (0)
  • Suggested answer
    SaiRT14 Profile Picture
    1,990 Super User 2025 Season 2 on at
    • Set Cancellation Topic as Highest Priority: Ensure that the cancellation topic has the highest priority in Copilot Studio, so it interrupts other topics as soon as the cancellation trigger is detected. This can help the bot respond to cancellation requests immediately, even in the middle of ongoing processes.

    • Use Interruption Handlers: Configure an interruption handler in Copilot Studio to actively listen for the cancellation command throughout the process. Set up cancellation checks within each topic, especially before initiating each new PDF summary or Excel write operation, allowing the bot to stop more promptly.

    • Divide Long Processes into Smaller Segments: Break down the PDF summarization and Excel update processes into smaller segments or batches. This way, the bot frequently pauses to check for cancellation commands, ensuring it doesn’t get “stuck” in a long-running process without listening for the cancellation input.

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 251 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

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

#3
S-Venkadesh Profile Picture

S-Venkadesh 93 Moderator

Last 30 days Overall leaderboard