Endwi
![]() |
Ends a work item with a cause code (for reporting purposes). |
Supported Script Types
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Generic | Chat | Phone | Voicemail | Work Item | SMS | Digital |
Similar Actions
- End—Terminates the script.
- End a Contact—Terminates the active contact.
- EndText—Terminates an SMS workflow that doesn't include a Regagent action (for Digital Channels only).
- EndWi—Terminates a work item with a cause code.
- Exit—Terminates a chat session and disconnects the chat contact.
- Hangup—Terminates a phone script.
Do not use the Stop action to terminate a script. It doesn't terminate the script and leaves contacts running. This has a negative impact on the CXone servers.
Properties
Property | Details |
---|---|
ContactID | The contact ID for the work item "contact" that was ended. |
ReasonCode | Select from a drop-down the cause code that you want to be reported. |
Branches
Branch | Details |
---|---|
Default | Path taken unless the script meets a condition that requires it to take one of the other branches. It is also taken if the action's other branches are not defined. |
OnError | Path taken when there is an unexpected problem (for example, poor connectivity, syntax errors, and so forth). The _ERR variable should be populated with a condensed explanation of the problem. |