microsoft / microsoft/BotFramework-WebChat

Inactivity topic is not getting triggered for Copilot Studio Agent

Open
#5,633 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Bot Services bug customer-reported
Dominant language
HTML
Stars
1.8k
Forks
1.6k
Avg merge
22h 58m
Merged PRs (30d)
2

Description

Is it an issue related to Adaptive Cards?

No

Is this an accessibility issue?

No

What version of Web Chat are you using?

^4.16.0

Which distribution are you using Web Chat from?

Bundle (webchat.js)

Which hosting environment does this issue primarily affect?

SharePoint

Which browsers and platforms do the issue happened?

Browser: Edge (latest)

Which area does this issue affect?

Chat history

Which theme pack does this issue affect?

Fluent UI

What is the public URL for the website?

No response

Please describe the bug

The inactivity topic configured in copilot studio is not getting triggered in web channel integrated in SPO, but is getting triggered in other channels like Teams.

Do you see any errors in console log?

How to reproduce the issue?
  1. Navigate to agent on web channel (SPO site)
  2. Have a conversation
  3. Wait for 30 mins of inactivity for agent to trigger inactivity topic - failed
What do you expect?

Inactivity topic configured in Copilot Studio should be triggered and an inactivity message should be displayed to the end user.

What actually happened?

Inactivity topic configured in Copilot Studio is not triggered and an inactivity message should be displayed to the end user.

Do you have any screenshots or recordings to repro the issue?

No response

Adaptive Card JSON

Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the bundled webchat.js integration in a SharePoint site and reproduce the issue using Web Chat ^4.16.0 in Edge after 30 minutes of inactivity. Compare the web channel behavior with Teams and trace whether the inactivity event or Copilot Studio topic response reaches the client. Done means the configured inactivity topic triggers and its message is displayed to the user.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.