How You Update Source Keys

When you load data using HCM Data Loader, you can provide a source key. The source key is a value, usually generated from a legacy environment, that identifies the record uniquely in that environment.

You can use the source key to refer to the object both when maintaining it and when referring to it from another object. If you specify no source key, then a default source key is generated. You can update both default and locally defined source keys for integration-enabled objects. This topic describes how to update source keys.

Loading Updates to Source Keys

To update the source key associated with any record, you load a SourceKey.dat file. In the file, you supply both a reference to the record to update and the new source-key value.

This example SourceKey.dat file updates the source key for a person address that's identified by its existing source key. The BusinessObject and Component attributes are used to identify the type of record being updated. For both attribute values, you supply the relevant file discriminator.

METADATA|SourceKey|BusinessObject|Component|OldSourceSystemId|OldSourceSystemOwner|NewSourceSystemId|NewSourceSystemOwner
MERGE|SourceKey|Worker|PersonAddress|2342|FUSION|1422-HOME|VISION