Begin

脚本的起点。 每个 Studio 脚本和子脚本都必须有一个 Begin 操作。

依赖关系

  • Begin 必须是脚本中的第一个操作。
  • 每个 Studio 脚本都必须有一个 Begin 操作。 如果某个脚本有多个 Begin,则该脚本可能无法按预期工作。

支持的脚本类型

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

Caption 更改为在脚本中唯一标识此操作的内容。 IVR 发布路径报告包括操作的名称和标题。 独特的描述性标题使报告更易于阅读和理解。Use only for BEGIN CASE IF IVRLOG MENU and REQAGENT例如,您可以将其更改为包含脚本的名称。

Application

该属性未使用。

Parameters

允许您更改默认变量的名称,这些变量保存传递给此脚本的参数的值。 默认变量为 p1 - p9,但如果在此属性中指定名称,则这些名称将替换传入参数值的默认变量名称。如果不更改名称,则这些变量将保留其默认 pX 名称。

To change the names, click the ellipsis icon in the field and add variable names for each parameter that's passed to this script. Enter up to nine names, one per line in the editor window 变量名称不必与传递参数的源中使用的相应变量的名称匹配,但它们应该是有意义的。

参数值来自调用脚本或应用程序。 传递到脚本中的参数将显示在该脚本的跟踪输出Begin作中。

结果分支条件

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

条件

说明

Default

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

提示和技巧

如果您的脚本从中间随机开始,而不是从您期望的位置开始,请检查是否意外添加了第二个 Begin 操作。 脚本从添加的最后 Begin 操作开始。