Genesys CTI User Forum
Genesys CTI User Forum => Genesys-related Development => Topic started by: Gabi on November 09, 2020, 02:58:51 PM
-
Hello.
I have been asked to retrieve the User Data of an e-mail in a workbin when agents click on the Reply button to reply to that e-mail.
The e-mail has never been pulled from the workbin, so I cannot store its information in advance.
Checking the logs, I see that there is an EventInteractionProperties which contains the information I need, but I do not know how to capture that event. I have an interaction event handler in my InteractionManager, but it does not capture the EventInteractionProperties.
Could anyone please help me figure out how to make a handler for this event or otherwise retrieve this information from the workbin?
Thank you in advance.
-
I would recommend you to use commands for that purpose. Within command you can get an object of interaction with all appropriate properties
-
Thank you for your reply, but the only command to which I have access at that point is InteractionEmailReplyById, which gives me the Interaction Id but not the User Data, and so far I have been unable to find a way to retrieve the User Data associated to that ID since, again, the interaction itself has never been loaded.
If you would be so kind as to tell me how I can find it, I would appreciate it.
-
You can use command IsPossibleToCreate within that chain to get the current interaction also with user data
-
Thank you!