Genesys.Database gets cleared when chat is cleared, what's the best approach to repopulating this with necessary custom attributes?

[a]
Messenger -> Open Messenger -> Message Us = in a conversation

[b]
"Clear and leave your conversation" = ClearConversationRequest -> Event.ConversationCleared -> Event.ConnectionClosed -> state.closed = database cleared, custom attributes are lost.

[c]
repeat of [a] but now we don't have the custom attributes anymore.

Question:
What's the best way of loading/reloading the custom attributes, do you have any guidance?

What kind of data to the attributes represent? Can they be stored as custom fields on the external contact record? If you want/need those to hang around then your going to have to persist them somewhere while the conversation is happening so that they are not lost if the customer clears the conversation. That can be on the external contact record in Genesys Cloud or in some external system.

1 Like

i am using messaging: customAttributes.
what i did was subscribe to the MessagingService.conversationCleared and then setup again.

Hi,

You may want to check this post for completeness.

Regards,
V.P.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.