Section II – Functional Modules > Chat Interaction Interface > Events         Bottom of Page
Genesys 8.1
SCXML Technical Reference
< Action Elements

Events

The event namespace convention is chat.xxxx.

The following are the chat action result events:

Event

Attributes

Description

chat.sendchatmessage.done

 

This event indicates the success of the request and that a chat message has been sent in association with a given party.

requestid

This is the ID associated with the request.

error.chat.sendchatmessage

 

This indicates that an abnormal condition occurred while trying to perform the request. This event will be sent as a result of a timeout of the request as well as due to problems with the request or interaction itself.

requestid

This is the ID associated with the request.

error

This is the type of error that occurred:

  • Request Invalid

description

This is a more detailed description of the error.

chat.gettranscript.done

 

This event indicates the success of the request and that the chat transcript object has been refreshed.

requestid

This is the ID associated with the request.

transcript

This is the latest transcript associated with the chat interaction. It will be an array of chatmessage objects in JSON format.

error.chat.gettranscript

 

This indicates that an abnormal condition occurred while trying to perform the request. This event will be sent as a result of a timeout of the request as well as due to problems with the request or interaction itself.

requestid

This is the ID associated with the request.

error

This is the type of error that occurred.

  • Request Invalid

description

This is a more detailed description of the error.

The following are the chat asynchronous events:

Event

Attributes

Description

chat.message

 

This event provides the next text message from any party involved in the chat session.

interactionid

This is the interaction ID associated with the interaction that was created.

message

This is the chatmessage object that was sent.




Section II – Functional Modules > Chat Interaction Interface > Events         Top of Page
Genesys 8.1
SCXML Technical Reference
< Action Elements