The GlideImportSetRun API provides methods to creates an Import Set Run record which the GlideImportSetTransformer API can consume.

GlideImportSetRun - GlideImportSetRun(String importSetID)

Instantiates a GlideImportSetRun object.

Table 1. Parameters
Name Type Description
importSetID String Optional. The sys_id of the import set record listed in the Import Sets [sys_import_set] table. If not set, a new [sys_import_set] record is created and the GlideImportSetRun object represents this record.

Example

var importSetRun = new GlideImportSetRun();

GlideImportSetRun - getImportSetRunSysID()

Gets the sys_id of the Import Set Run associated with the transformation.

Table 2. Parameters
Name Type Description
None
Table 3. Returns
Type Description
String The sys_id of the Transform Histories [sys_import_set_run] record associated with the transform.

Example

var importSetRun = new GlideImportSetRun();
var importSetRunSysId = importSetRun.getImportSetRunSysID();