If
|
评估 表达式,并根据评估结果(真或假)选择分支。您也可以在脚本中使用在
|
Supported Script Types
|
|
|
|
|
|
|
|
通用 |
电子邮件 | 聊天 | 电话 | 语音信箱 | 工作项目 | 短信 | 数字 |
Input Properties
这些属性定义操作在执行时使用的数据。
属性 |
说明 |
---|---|
Caption | 将 Caption 更改为在脚本中唯一标识此操作的内容。IVR 发布路径报告包括操作的名称和标题。独特的描述性标题使报告更易于阅读和理解。Use only for BEGIN CASE IF IVRLOG MENU and REQAGENT |
Expression | 对一个值进行求值,以确定表达式是“对”还是“错”。例如,TOTAL=>0(总数等于或大于 0)。 |
Result Branch Conditions
结果分支条件允许您在脚本中创建分支,以在执行操作时处理不同的结果。
条件 |
说明 |
---|---|
True |
表达式为真时所采用的路径。 |
False |
表达式为假时所采用的路径。 |
Script Example
此示例并非完整的脚本。要使用此操作,需要额外的脚本编写工作。
When this script is triggered, the number of available agents are counted. The If action uses the expression TOTAL>0 to determine which branch to take. If the total number of available agents is greater than 0, a menu will provide options to the caller. If the total number of agents is not greater than 0, then a message will play and the script will hang up the call.
Would you like to download this script?