GET NEXT EVENT
此帮助页面适用于 Studio。 此信息也适用于 Desktop Studio。
|
|
一个API 操作,用于向平台发送事件轮询请求,以接收事件队列中的下一个坐席事件。 有关更多信息,请参阅 DEVone developer portal |
依赖关系
这是 API 操作。 该功能位于 Desktop Studio 中的API Actions palette中。
支持的脚本类型
|
|
|
|
|
|
|
|
|
|
通用 |
聊天 | 电话 | 語音邮件 | 工作项目 | 短信 |
|
输入属性
这些属性定义操作在执行时使用的数据。
|
属性 |
说明 |
|---|---|
|
添加说明文字 |
输入在脚本中唯一标识此操作的短语。 标题显示在脚本画布上的操作图标下方。 |
| 安全用户 | SetSecurityUser 操作的输出值,该操作会根据安全配置文件中的坐席权限对选定的坐席进行身份验证。 默认值为 SecurityUser(与 SetSecurityUser 的默认输出值相同)。 您不需要在此属性中使用花括号({})。 |
| 会话ID(输入/输出) | The unique ID assigned to the agent's login session within the NiCE CXone system. |
| 事件消息(出) | Any variables and information that result from executing the action. |
| 超时 | 该操作在超时之前等待执行的秒数。 |
输出属性
这些属性包含保存执行操作返回的数据的变量。 它们在操作完成后供引用和使用。
从 NiCE CXone 平台请求事件时,每次都会返回两项内容: \t\t\t
- 新的会话ID,应在后续的事件轮询请求中使用。
- 自上次事件轮询请求(如有)以来发生的事件的集合。
结果分支条件
结果分支条件允许您在脚本中创建分支,以在执行操作时处理不同的结果。
|
条件 |
说明 |
|---|---|
| 默认 | 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. |
| OnNewEvents | Path taken if the poll request receives a new event. |
| OnNoEvents | Path taken if the poll request does not receive a new event. |
| OnEventMissed | Path taken if an event occurred and was missed by the poll request. |
| OnSessionEnded | Path taken if the agent session ended. |
| OnInvalidAgentSession | Path taken if the Session Id entered is invalid. |
| OnInvalidSecurityUser | 使用无效的安全用户时所采用的路径。 |
| OnInvalidTimeout | Path taken if the value entered in the Timeout property is invalid. |
其他选项
您可以利用提供此功能的现有坐席应用程序。