AGENTSTATE
此帮助页面适用于 Studio。 此信息也适用于 Desktop Studio。
|
|
检查特定坐席的状态。 |
支持的脚本类型
|
|
|
|
|
|
|
|
|
通用 |
聊天 | 电话 | 語音邮件 | 工作项目 | 短信 |
输入属性
这些属性定义操作在执行时使用的数据。
|
属性 |
说明 |
|---|---|
|
添加说明文字 |
输入在脚本中唯一标识此操作的短语。 标题显示在脚本画布上的操作图标下方。 |
| 坐席 ID | 坐席 ID。Enter 一个 ID,或输入内容以查找特定坐席。您可以为此字段使用变量,例如 |
| 状态变量 | Variable that holds the agent state, such as Available, Unavailable, and so on. 默认值为 STATE。 |
| 原因变量 | The variable that holds the specific description of the agent state. |
结果分支条件
结果分支条件允许您在脚本中创建分支,以在执行操作时处理不同的结果。
|
条件 |
说明 |
|---|---|
| 默认 | 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. |
| NotLoggedIn | Path taken if the agent is not logged in. |
| 可用 | Path taken if the agent is logged in and available. |
| 不可用 | Path taken if the agent is logged in but not available. |
| InboundContact | Path taken if the agent is logged in and engaged with an inbound contact. |
| OutboundContact | Path taken if the agent is logged in and engaged with an outbound contact. |
| InboundConsult | Path taken if the agent is in a state where they will be accepting inbound consults. |
| OutboundConsult | Path taken if the agent is in a state where they will be accepting outbound consults. |
| 拨号器 | Path taken if the agent is logged in to an outbound dialing skill. |
| 已登录 | Path taken if the agent has logged in to the system but has not yet set the agent state. |
脚本示例
这是一个示例,说明如何在脚本中使用此操作。 它并不是一个完整的脚本。 可能还需要编写其他脚本。
在此示例电话脚本中,IF 操作会进行检查以了解特定的坐席 ID 值是否存在。 如果存在 (TRUE),则 Agentstate 会检查该坐席的忙闲状态。 如果该坐席有空,Reqagent 会请求该特定坐席。 如果不存在,则呼叫将(通过 Runsub)转至用于记录消息的脚本。