I was given a specific request: when a chat interaction is marked done, store the transcript in a database.
I know I can access the IInteractionChat while executing the InteractionOpenMediaClose chain of command, but how can I get the transcript?
Or, if it cannot be obtained at that point, is there a way to obtain it earlier so I can keep it in a variable and then send it to the database when the time comes?
I don’t want to change the routing strategy. It’s up to the customers whether or not they want to send it to an e-mail, but I need to store it in a specific table of a specific database regardless, along with some other data. So… is there any way to get the transcript via PSDK/ESDK/any Genesys library?
But I am not saying to delete the email block…just grab it and do the same for a DB block or something…
Via PSDK you could too but that means to do on WDE right? What if agent transfers the interaction?
The code via PSDK was discussed some time ago if memory doesn’t fails
I have no control whatsoever over the strategy. I am writing a WDE extension. Other people make the strategies and they decide what to do with them. And I need the transcript at a specific point in the execution of my extension, so I’m afraid what you are suggesting makes no sense.
But don’t worry, I’ve found a way around it by storing the information from each EventSessionInfo and then reading it when I need it.