ConnectAuth

This help page is for Desktop Studio.This information is also available for CXone Studio.

本页内容针对 Controlled Release (CR) 的产品或特性。如果您不是 CR 组的成员,如需了解更多信息,请联系您的 CXone 客户代表

允许您使用在 Integration Hub 中的连接中配置的身份验证详细信息。

双击此操作会打开 Integration Hub,您可以在其中配置希望该操作使用的连接集成。

Dependencies

  • 这个操作需要 Integration Hub
  • 此操作通常与 ConnectRequest 操作一起使用。
  • 脚本中此操作的每个实例都可以验证一个连接。打开 Integration Hub 并单击选择图标 一个带有复选标记的圆圈图标。,将您想要的连接分配给此操作。
  • 此操作需要配置有身份验证的集成连接。您可以在 Integration Hub 中创建一个。

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.

The icon for the Digital script type - a computer monitor with a smartphone next to it.

通用

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

Input Properties

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

属性

说明

说明文字

输入在脚本中唯一标识此操作的短语。标题显示在脚本画布上的操作图标下方。The default is the action name.

connectName

定义与此操作一起使用的特定连接。此连接必须配置有身份验证详细信息。您可以双击该操作,从 Integration Hub 中分配一个连接器。

输出属性

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

属性

说明

authBodyVarName (out) 保存请求的授权正文。默认为 authBody
authErrorDetailsVarName (out) 如果出现错误,则保存请求的错误详细信息。默认为 authErrorDetails
authHeadersListVarName (out) 保存授权标头列表。默认为 authHeadersList
authProxyVarName (out) 保存授权代理。默认为 authProxy

结果分支条件

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

条件

说明

Default 除了脚本满足条件要求其接受其他分支的情况之外,所要采用的路径。如果未定义操作的其他分支,也会执行此操作。
OnSuccess

完成操作而无错误,且 API 调用或数据返回全部成功时所采用的路径(2xx 响应代码)。

OnError

操作无法正确执行时所采用的路径。例如,当出现意外问题时,如语法错误、HTTP 错误代码等。ERR 变量中应填入对问题的简明解释。

OnTimeout

如果请求在 Integration Hub 中的请求配置中定义的毫秒数内没有响应,则采用的路径。