Get Source Map

可获取给定来源的现有图例。例如,如果您要扩展现有映射,可以获取源映射并向其添加新的数据定义。

Dependencies

Get Source Map 仅适用于 Proactive XS。

Supported Script Types

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.

通用

电子邮件 聊天 电话 语音信箱 工作项目 短信

Input Properties

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

属性

说明

SourceName 生成记录的来源的名称。提供系统内记录的逻辑分组。如果您的源映射无效或丢失,您可能会收到“缺少外部 ID”错误。

Output Properties

这些属性包含保存执行操作返回的数据的变量。它们在操作完成后供引用和使用。

属性

说明

Results (out) 一个动态数据对象,包含操作执行的结果。

Result Branch Conditions

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

条件

说明

Default

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

InvalidSource

当所提供的源名称不存在时采用的路径。

Script Example

此示例并非完整的脚本。要使用此操作,需要额外的脚本编写工作。

The example below is just part of a much bigger script. The entire script can be seen in the Createsourcemap phone script example. This portion of the script is used to retrieve an existing source map to which you can make changes.

Double-click the Snippet actions to view the Snippet Properties:

Would you like to download this script?