You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I am trying to send a 'command' from Copilot, but for some reason, I cannot receive it on the front end. I will describe below what I have tried.
To Reproduce
Set up an Omnichannel chat channel (workstream).
Add a Copilot bot built using Copilot Studio to the workstream.
In the 'Conversation Start' topic, add any of the following:
a. Custom 'Channel' data to a 'message' node.
b. Custom 'Value' data to a 'message' node.
c. 'Command' activity.
d. 'Event' activity.
e. 'Invoke' activity.
Listen on the front end using one of the following methods:
a. Add a handler using onNewMessage.
b. Add a middleware and intercept 'DIRECT_LINE/INCOMING_ACTIVITY'.
c. Add a middleware and intercept 'DIRECT_LINE/CONNECT_FULFILLED' and add a handler to 'directLine.activity$'.
Expected behavior
I expected to receive any of the items described in point 3 above.
Desktop (please complete the following information):
OS: Windows 11
Browser: Chrome
Version: 131.0.6778.86
Additional context
I received none of the items in point 3 in the reproduction steps. The only thing I seem to be able to catch is activities of type 'message' only, with the default channel data (none of the custom values) and no 'value'.
I tried to scan the source code for any filtering, and I found in 'newMessageEventHandler' file a filter to only handle 'message' activities. Even when I removed this condition, the behaviour was exactly the same!
The text was updated successfully, but these errors were encountered:
Describe the bug
I am trying to send a 'command' from Copilot, but for some reason, I cannot receive it on the front end. I will describe below what I have tried.
To Reproduce
a. Custom 'Channel' data to a 'message' node.
b. Custom 'Value' data to a 'message' node.
c. 'Command' activity.
d. 'Event' activity.
e. 'Invoke' activity.
a. Add a handler using onNewMessage.
b. Add a middleware and intercept 'DIRECT_LINE/INCOMING_ACTIVITY'.
c. Add a middleware and intercept 'DIRECT_LINE/CONNECT_FULFILLED' and add a handler to 'directLine.activity$'.
Expected behavior
I expected to receive any of the items described in point 3 above.
Desktop (please complete the following information):
Additional context
I received none of the items in point 3 in the reproduction steps. The only thing I seem to be able to catch is activities of type 'message' only, with the default channel data (none of the custom values) and no 'value'.
I tried to scan the source code for any filtering, and I found in 'newMessageEventHandler' file a filter to only handle 'message' activities. Even when I removed this condition, the behaviour was exactly the same!
The text was updated successfully, but these errors were encountered: