AgentList

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

返回分配给业务部门关闭 高层级组织分组,用于管理 CXone Mpower 系统的技术支持、计费和全局设置。的所有坐席,除非在包含每个坐席配置文件信息的数组中。 可以通过在 AgentID 属性中输入坐席 ID 来返回有关特定坐席的信息。 在 ListVar 参数中指定的变量中返回以下字段:

• BusinessUnitID • UserName
• MiddleName • Email
• TeamId • ReportToId
• ReportToMiddleName • IsSupervisor
• LastModified • Custom1
• Custom3 • Custom5
• AgentID • FirstName
• LastName • IsActive
• TeamName • ReportToFirstName
• ReportToLastName • LastLogin
• Location • Custom2
• Custom4 • InternalId

您可以使用此操作来检查一个特定的坐席是否处于活动状态,找到坐席的电子邮件地址,检查他们属于哪个团队,或其他各种自定义选项。 坐席列表是您可以在 Studio 中使用的可用 API 之一。 您必须在您的业务单位上启用框架操作和权限,以便利用此操作。

依赖关系

始终确保 SetSecurityUser action在此操作之前,并且该操作的输出变量与 Agent List 操作属性的 SecurityUser 输入变量相匹配。

支持的脚本类型

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.

通用

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

输入属性

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

属性

说明

Caption

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

SecurityUser SetSecurityUser 操作的输出值,该操作会根据安全配置文件中的坐席权限对选定的坐席进行身份验证。 默认值为 SecurityUser(与 SetSecurityUser 的默认输出值相同)。 您不需要将大括号 ( {} ) 与此属性一起使用。
AgentID 坐席 ID。 您可以为该字段使用一个变量,例如 {agentId}。留空时,与业务单位关联的所有用户将以数组的形式返回。 此字段接受变量。

输出属性

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

属性

说明

ListVar (out) 保存返回的数据。 此变量的内容以数组形式存储。 默认变量为 Agents

结果分支条件

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

条件

说明

Default

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

OnError

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

其他选项

根据您想要获取的数据,其他框架 API 操作可能会有所帮助。 例如,All Agent Skill AssignmentsAgent States V4Get Agents ListGet Agent Details by Agent ID等。