SetSecurityUser

SetSecurityUser 为脚本中使用的 Framework or API 操作提供对 CXone 平台的安全访问。 这是这些操作正常运行所必需的。

依赖关系

  • 要使用此操作,您需要在 CXone创建安全用户。 安全用户是具有适当权限的员工配置文件。 为其分配权限,使其能够执行与它配合使用的 Framework or API 操作所需的任务。 没有一组权限列表,因为每个操作都是不同的。
  • 您必须使用有效的活动CXone ACD 用户坐席 ID 或名称。 如果您指定的 ACD 用户无效,则会发生错误并且脚本将停止。 这意味着连接 SetSecurityUser Error 分支非常重要。

支持的脚本类型

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.

通用

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

输入属性

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

属性

说明

Caption

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

Agent

选择您创建为安全用户的 CXone 员工配置文件。 您可以输入该员工配置文件的坐席 ID,而不是搜索该用户。 该字段接受用大括号 ( { } ) 括起来的变量。

TimeZone

允许您指定从其中返回数据的时区。 建议保留为 Default,以便它使用所选坐席的时区(而不是默认的业务单位关闭 用于管理 CXone环境的技术支持、计费和全局设置的高级组织分组)。 该字段接受用大括号 ( { } ) 括起来的变量。

ScriptVar (out)

保存此操作的输出的变量。 建议您将此设置保留为默认值 SecurityUser

结果分支条件

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

条件

说明

Default

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

Error

操作无法正确执行时所采用的路径。 例如,出现连接不良、语法错误等意外问题时。 _ERR 变量以单个下划线字符填充,应包含对问题的简要解释。