Interface ISFdmuRunCustomAddonTask

The currently running migration task. Each SFDMU Job has multiple Tasks, each task dedicated to work with one SF object.

See

ISFdmuRunCustomAddonJob

Export

Interface

ISFdmuRunCustomAddonTask

Hierarchy

  • ISFdmuRunCustomAddonTask

Properties

fieldsInQuery: string[]

The list of the fields included in the sobject's query string.

Memberof

ISFdmuRunCustomAddonTask

fieldsToUpdate: string[]

The list of the fields which should be updated with this sobject. This property returns the subset of the fields from the fieldsInQuery, containing only the fields which can be updated in the Target.

Memberof

ISFdmuRunCustomAddonTask

operation: OPERATION

The operation, performed with the current SF object.

Memberof

ISFdmuRunCustomAddonTask

sObjectName: string

The Api name of the processed SF object.

Memberof

ISFdmuRunCustomAddonTask

Returns the task data associated with the data Source of this migration task.

Memberof

ISFdmuRunCustomAddonTask

sourceToTargetFieldNameMap: Map<any, any>

The mapping between the source field api names to the target api names in case the Field Mapping feature is active.

Memberof

ISFdmuRunCustomAddonTask

sourceToTargetRecordMap: Map<any, any>

The mapping between the record retireved from the Source to the record, retireved from the Target. The records are matched using the specified externalId.

Memberof

ISFdmuRunCustomAddonTask

targetSObjectName: string

The target Api name of the SF object in case the Field Mapping feature is active.

Memberof

ISFdmuRunCustomAddonTask

Returns the task data associated with the data Target of this migration task.

Memberof

ISFdmuRunCustomAddonTask

tempRecords: any[]

Get or sets the temporary records data during the records transformation process. For example you can use this property to access and to modify the live source records when firing the OnFilterRecords Add-On event.

updateMode: "FIRST_UPDATE" | "SECOND_UPDATE"

The current update mode. Each SF object can be updated twice, for the first time when the records are inserted and for the second time when the Plugin populates the missing lookups from the previously inserted records.

Memberof

ISFdmuRunCustomAddonTask

Methods

  • Applies the Values Mapping (if set for the associated sobject) to the passed records. The value mapping is defined by the ValueMapping.csv file.

    See

    Values Mapping for the detailed information about this featrue.

    Memberof

    ISFdmuRunCustomAddonTask

    Parameters

    • records: any[]

      The records to map, e.g. the source records.

    Returns void

Generated using TypeDoc  |  SFDMU Help Center  |  View on Github