Exit

Ends a chat session and disconnects a chat contact.

This action is similar to the Hangup action in a phone script. Once executed, the script stops immediately unless an Onrelease event action is present.

Supported Script Types

The icon for the Chat script type - a chat bubble with an ellipsis inside (...), in a diamond shape.

Chat

Comparison of Similar Actions

The following actions have similar functions, but with some key differences: 

  • Discard : Terminates an email script.
  • End : Terminates a phone, voicemail, SMS, or digital script. Does not terminate a digital contact, but terminates contacts in scripts with other media types.
  • End a Contact: Terminates the active contact. Does not terminate the current script.
  • EndTextTerminates an SMS workflow that doesn't include a Regagent action (for digitalClosed Any channel, contact, or skill associated with Digital Experience. channels only).
  • EndWi: Terminates a work item with a cause code. Does not terminate the current script.
  • Exit : Terminates a chat session and disconnects the chat contact.
  • Hangup : Terminates a phone script.
  • Return : Terminates a subscript and returns control to the originating script.

Do not use the Stop action to end a script. It does not terminate the script and leaves contacts running. This has a negative impact on the CXone servers.

Input Properties

None

Result Branch Conditions

None. This is a terminating action, so no branches are needed.