Run these jobs to upgrade the existing product data to populate new fields that support the Product Versioning feature. The Product Versioning feature tracks versions of products, picklists, and object types. These fields must be populated and maintained regardless of whether Versioning is enabled.
Ensure the Populate New Fields job is completed successfully before running the Populate Product Hierarchy Group Key Path job.
Populate New Fields
Populates new fields on all existing record types for the listed objects.
Before running this job, deactivate flows for custom record types to avoid interference with the update. See Deactivate a Flow in Flow Management and Vlocity Triggers. Active them again after the job completes.
|
Applies to |
Upgrades from Salesforce Industries Communications, Media, and Energy Spring '20 |
|---|---|
|
Apex Name |
VersioningUpgradeBatchJob |
|
Where to Run this Job |
Upgrade Jobs in the Admin Console section on the CMT Administration tab. |
|
Risks of Running This Job |
Low Risk. These fields are populated only when they are null, so if you run this job again, it does not modify existing field values. By default, this job processes all products, including those that are not in the Vlocity catalog. While there is no risk to the non-Vlocity products, processing these products adds to the time to deploy. |
|
When Not to Run This Job |
Do not run this job for product configuration that is not managed directly in Enterprise Product Catalog (EPC). |
|
When to Run This Job |
|
|
More Information |
This batch job is used for the following versioned objects:
If you do not want to update custom record types, use the following steps to run the job from the Developer Console.
|
Populate Product Hierarchy Group Key Path
Populates product group keys and product hierarchy group key path fields for existing records.
|
Applies to |
Upgrades from Salesforce Industries Communications, Media, and Energy Spring '20 |
|---|---|
|
Apex Name |
PopulateVlocityAttachmentProdGrpKeyJob and PopulateProdHierarchyGrpKeyPathJob |
|
Where to Run this Job |
Upgrade Jobs in the Admin Console section on the CMT Administration tab. |
|
Risks of Running This Job |
Low Risk |
|
When Not to Run This Job |
Do not run this job for product configuration managed directly in EPC. |
|
When to Run This Job |
|
|
More Information |
This job populates product global group key references on related objects, mainly ProductHierarchyGroupKeyPath__c, in the following objects:
ProductHierarchyPath__c stores the hierarchy path using Product2.Id, whereas ProductHierarchyGroupKeyPath__c stores the hierarchy path using Product2.GlobalGroupKey__c. |