Conflixt Between End of Conversation and Agent Transfer

Hi,
we have agent transfer enable in our bot, and we also configured end of conversation event handler to trigger a dialog task, but this stopped both of them from working. I have debugged and it seems the end of conversation is getting triggered event before the agent transfer is over below are the screenshots for reference

Kore-debug-agenttransfer

Because of this Agent Transfer event is not getting called in BotKit

Regards,
Damaresh N.

@damaresh.n

  1. Please check the documentation for https://developer.kore.ai/docs/bots/advanced-topics/event-based-bot-actions/#End_of_Conversation
    and ensure you are checking the right reason for the event in botkit.
  2. As per https://developer.kore.ai/docs/bots/sdks/functions-for-the-botkit-sdk/#sdk-clearagentsession are you checking for chat_closed event?