microsoft / botframework-solutions

Welcome to the Bot Framework Solutions repository which is the home for a set of templates and solutions to help build advanced conversational experiences using Azure Bot Service and Bot Framework. Microsoft Bot Framework is a comprehensive framework for building enterprise-grade conversational AI experiences.
https://aka.ms/bfsolutionsdocs
MIT License
1.05k stars 529 forks source link

conversationId is not coming in BotMessageSend telemetry event #3844

Closed SreekanthOAuth closed 3 years ago

SreekanthOAuth commented 3 years ago

What project is affected?

Microsoft Bot framework - Virtual Assistant

What language is this in?

Typescript

What happens?

Below are the versions of botbuilder, we are not getting the conversationId as part of BotMessageSend event.

"botbuilder": "4.6.0",
"botbuilder-ai": "4.6.2",
"botbuilder-applicationinsights": "4.6.2",
"botbuilder-azure": "4.6.2",
"botbuilder-core": "4.6.2",
"botbuilder-dialogs": "4.6.2",
"botbuilder-skills": "4.4.9",
"botbuilder-solutions": "4.4.9",
"botframework-config": "4.6.2",
"botframework-connector": "4.6.2",
"botframework-schema": "4.6.2",

And we are using React application to load the Webchat by using the directline token. Below are the versions

botframework-webchat": "4.14.0",
"msal": "^1.4.4",

BotMessageSend

{
    "activityType": "event",
    "activityId": "8gUQ5dDViGM87YRWQLjG48-o|0000000",
    "channelId": "directline",
    "conversationName": "",
    "recipientName": "{\"id\":\"7cd3a405-b078-471b-a85e-dvvfvv\",\"displayName\":\"Yammanure, Sreekanth Reddy\",\"mail\":\"xxxx.xxxx@ecolab.com\"}",
    "recipientId": "dl_7cd3a405-b078-471b-a85e-b1ebb116a462",
    "replyActivityId": "8gUQ5dDViGM87YRWQLjG48-o|0000000",
    "locale": "",
    "speak": "Welcome back Sreekanth reddy. What can I help you with?"
}

What are the steps to reproduce this issue?

Create the VA project with Typescript language and update the package.json with the above version and do the npm install.

https://microsoft.github.io/botframework-solutions/virtual-assistant/tutorials/create-assistant/typescript/3-create-project/

What were you expecting to happen?

conversationId should come in BotMessageSend telemetry event

Please let us know if you need any further details on this.

Also, please be noted, this issue is not just with BotMessageSend events, it's happening with BotMessageRecevived and some built-in events.

Thanks, Sreekanth (Ecolab)

EricDahlvang commented 3 years ago

@Batta32 Would you please look at this.

Batta32 commented 3 years ago

Hey @EricDahlvang, I'm no longer part of the Kobuk team. Feel free to contact to @ldardick or @matiasroldan6.

SreekanthOAuth commented 3 years ago

@Batta32 - Any update please.

luislera commented 3 years ago

Hi @SreekanthOAuth. We are working on this issue and we let you know as soon as we have any update. Thanks.

luislera commented 3 years ago

Hi @SreekanthOAuth, we could not replicate the issue using the following versions: 4.11.0 and 4.13.0 Find attached an image with the custom event details (BotMessageSend and BotMessageReceived):

imagen

We could not run the sample using version 4.6.2 due to some issues when running locally or deploying the bot to Azure. Having said that:

  1. Can you send us the sample (without including the keys and secrets) so we can replicate the issue using the same version as yours?
  2. Is it possible for you to use the latest version of the SDK?
  3. Based on the JSON attached in the issue you are using the directline channel. Did you try it using the emulator?

Any additional information is welcome. Thanks

johnataylor commented 3 years ago

closing due to no activity