End a Contact

用于根据唯一的联系人 ID 终止一个活动的联系。可用于任何媒体类型或渠道中,并通过合理执行操作来强制性让活动的联系结束。典型的用例是在紧急情况下、从队列中清除卡住不动的联系、终止特定的脚本(比如生成的脚本)或者当使用 API 调用运行坐席应用程序时。

如果要终止特定的脚本,可以使用 End 操作。要在同一脚本中终止活动语音联系,可以使用 End a Contact操作。

Supported Script Types

The icon for a Generic script type - a rectangle with < and > symbols inside it.

The icon for the Email script type - a large @ symbol in a diamond.

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

The icon for the Phone script type - an old-style phone handset with curved lines indicating sound coming out of it.

The icon for the Voicemail script type - a symbol that looks like a cassette tape - two circles sitting on a horizontal line.

The icon for the Work Item script type-a piece of paper with one corner folded down and a bullet list on it.

The icon for the SMS script type - a smart phone with a chat bubble coming out of it.

通用

电子邮件 聊天 电话 语音信箱 工作项目 短信

Comparison of Similar Actions

以下操作具有类似功能,但存在一些关键区别:

请勿使用 Stop 操作action来终止脚本。它不会终止脚本,而会让联系人继续运行。这会对CXone服务器产生负面影响。

Input Properties

这些属性定义操作在执行时使用的数据。

属性

说明

SecurityUser SetSecurityUser 操作的输出值,该操作会根据安全配置文件中的坐席权限对选定的坐席进行身份验证。此字段接受用花括号 ( { } ) 格式化的变量。默认值为 SecurityUser(与 SetSecurityUser 的默认输出值相同)。
ContactID 在成功执行此操作之后,坐席将被设置为的所需状态。选项包括 UnavailableAvailable,并且可以作为变量使用。

Output Properties

这些属性包含保存执行操作返回的数据的变量。它们在操作完成后供引用和使用。

属性

说明

__DISCONNECTREASON TerminateScript

Result Branch Conditions

结果分支条件允许您在脚本中创建分支,以在执行操作时处理不同的结果。

条件

说明

Default 除了脚本满足条件要求其接受其他分支的情况之外,所要采用的路径。如果未定义操作的其他分支,也会执行此操作。
OnSuccess 完成操作而无错误,且 API 调用或数据返回全部成功时所采用的路径(2xx 响应代码)。
OnInvalidContactID 所请求的联系人 ID 无效时所采用的路径。
OnUnauthorized SecurityUser 没有正确的角色/权限来执行 API 操作时所采用的路径。
OnInvalidSecurityUser 使用无效的安全用户时所采用的路径。