Attribute Override Batch Job

This job populates OverrideContext field values when you override the AttributeAssignment Salesforce object. This job also helps the IDX migration tool identify matching records from a source org to a destination org when you migrate datapacks.

Applies to

Spring '22 and later

Apex Name

EPCAttributeOverrideBatch

Where to Run this Job

From the Developer Console:

  • Click the setup (gear) icon, then click Developer Console.

  • Click the Debug menu.

  • Click Open Execute Anonymous Window.

  • Enter Database.executeBatch(new <namespace>.EPCAttributeOverrideBatchJob (), 2000);

    For example: Database.executeBatch(new vlocity_cmt.EPCAttributeOverrideBatchJob (), 2000);

  • Click Execute.

Risks of Running This Job

High

When to Run This Job

  • Once, after upgrading to CME Spring '22.

  • Once, prior to migrating data to another org, on both the source and designation orgs.

When not to Run This Job

  • For fresh installs.

  • Subsequent times for migrating data.

  • Subsequent times for upgrading to CME Spring '22.

More Information

In CME Spring '22 and later releases, the OverrideContext__c field is added to the AttributeAssignment__c object. This record is populated when you override the AttributeAssignment as part of a trigger. For existing records, you must run the Attribute Override Batch Job to generate the value of this field.