Lookup Table

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

从 Excel 电子表格定义的表格中加载自定义数据行,然后将值存储在动态数据对象中。 可以通过双击作并按照向导作,或右键单击作,单击“Select New Workbook”并按照向导作来选择要从中提取数据行的 Excel 电子表格。 如果对引用的电子表格进行了更改,您可以通过打开“属性”对话框(右键单击该操作),然后单击 Refresh Workbook 工作簿来刷新数据行;由于对电子表格的任何更改都不会自动更新,因此您必须在该操作中使用刷新功能。

此操作位于 Desktop Studio 中的框架选项卡上。 默认情况下,此选项卡不可见。 它必须由您的 客户代表 启用。

支持的脚本类型

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.

通用

电子邮件 聊天 电话 语音邮件 工作项 SMS 数字

输入属性

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

属性

说明

Caption

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

Value 与用于决定检索哪个数据行的键列匹配的值。
Variable 将接收自定义数据查找内容的变量的名称。 该变量将是一个动态对象。
File Name 保留从其中其加载表格的本地文件名的名称。 重新加载工作簿时通过“刷新”选项来使用。
Worksheet Name 保留从其中其加载表格的工作表的名称。 重新加载工作簿时通过“刷新”选项来使用。
Key Column 保留从其中其加载表格的键列的名称。 重新加载工作簿时通过“刷新”选项来使用。

结果分支条件

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

条件

说明

Default

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

NoMatch

当操作无法从定义的表格中识别自定义数据行时采用的路径。