Skip to content

[BUG] [Chat End Logging] Fix "Conversation closed:" logging as seen in a chat session transcript for escalated sessions #1278

@ear-dev

Description

@ear-dev

Currently the "Conversation closed" message is not always accurate.

For example, in an escalated session all Conversation closed messages show "Chat ended by visitor", even if the chat was actually closed by the agent, or timed out.
https://github.com/WideChat/Apps.Salesforce.LiveAgent/blob/master/helperFunctions/subscribeHelpers/SalesforceAgentAssignedHelpers/HandleEndChatCallback.ts#L62

We need to properly define all the reasons while closing rooom. visitor, agent, session expired etc. We should verify for both escalated and non escalated sessions.

As a side note: our SNS event logging for chat closed needs to be accurate as well...

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions