GET SOURCE MAP

此帮助页面适用于 Studio。 此信息也适用于 Desktop Studio。

A square with a map pin and an arrow pointing down inside it.

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

依赖关系

Get Source Map 仅适用于 Proactive XS。

支持的脚本类型

其中一条分支线通向其他三个正方形的正方形。

Icon of gray-green envelope

深绿色对话气泡图标

Icon of purple telephone handset

Icon of rust-colored voicemail symbol of two circles joined by a line

Icon of pink document with lines of text

绿色手机图标,屏幕上有一个语音气泡

通用

Email 聊天 电话 語音邮件 工作项目 短信

输入属性

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

属性

说明

添加说明文字

输入在脚本中唯一标识此操作的短语。 标题显示在脚本画布上的操作图标下方。

源名称 The name of the source where the records originated. Provides a logical grouping of records within the system. If you have an invalid or missing source map, you may receive a Missing External ID error.

输出属性

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

属性

说明

结果 A dynamic data object containing the results of the action executing.

结果分支条件

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

条件

说明

默认

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.

InvalidSource

Path taken if the source name provided does not exist.

脚本示例

这是一个示例,说明如何在脚本中使用此操作。 它并不是一个完整的脚本。 可能还需要编写其他脚本。

以下示例仅为一个大型脚本的一部分。 整个脚本可在Createsourcemap操作电话脚本示例中查看。 此部分脚本用于检索可以进行更改的现有源映射。

来自使用 GET SOURCE MAP 的脚本的图像。

在下面的示例脚本中,您可以单击打开编辑器以查看SNIPPET操作中使用的代码片段。

下载此脚本。