BotBuilder-Samples icon indicating copy to clipboard operation
BotBuilder-Samples copied to clipboard

FPB Event error - DynamicsOmnichannelBot

Open Naveen-Reddy237 opened this issue 3 years ago • 8 comments

Github issues for [https://github.com/microsoft/BotBuilder-Samples/tree/main/experimental/handoff-library/csharp_dotnetcore/samples/DynamicsOmnichannelBot]

Hi All,

i have integrated an azure bot with omnichannel and i have created Workstreams and Queues and When i Start the Bot iam getting json details along with Welcome Message and FPB Event

omichannelerror

omichannelerror(2)

Please help me in this .Thanks in advance

Naveen-Reddy237 avatar Sep 24 '21 15:09 Naveen-Reddy237

it looks like the bot is printing out the entire activity it receives from omnichannel when the add participant event happens. Have you tested this bot without hooking it to Omnichannel and do you see the same issues? Was this bot authored through the bot framework composer? What does the topic look like that is throwing this error?

haollige avatar Sep 29 '21 18:09 haollige

Thanks haollige. Yes I have tested the bot without hooking to Omnichannel but in Bot Framework Emulator and web chat I'm not getting that issue.

Naveen-Reddy237 avatar Sep 30 '21 02:09 Naveen-Reddy237

@haollige is this something you can take a look at?

munozemilio avatar Oct 04 '21 19:10 munozemilio

@haollige Any updates on this issue? Are you blocked? Thanks

carlosscastro avatar Oct 22 '21 17:10 carlosscastro

@haollige, Could you please provide an update on this issue? Thanks!

msomanathan avatar Oct 28 '21 17:10 msomanathan

Hi sorry, this is not being tracked in our team dashboards for tasks and bugs because we don't own this repository. Sorry for the delay in my responses.

What I think is happening is this bot does not handle activities correctly. For example, we have message activities that are posted to the thread that the bot should respond to, then there are other activities that could be for things such as voice pitch/speed for if the conversation is a voice call or something like activity for an adaptive card. This bot is taking those extra activities as a message activity and tries to find a related topic when in fact these are not messages.

Omnichannel maintains a nuget package that has middleware to interact with omnichannel. I think perhaps this sample needs to be updated to use this middleware. I will sync with byob team on this.

this is the Nuget: https://www.nuget.org/packages/Microsoft.Xrm.Omnichannel.BotSDK

haollige avatar Nov 01 '21 20:11 haollige

We are working on testing these pull request changes. https://github.com/microsoft/BotBuilder-Samples/pull/3572

haollige avatar Nov 01 '21 21:11 haollige

@haollige any update on your testing?

johnataylor avatar Nov 15 '21 19:11 johnataylor