Loading

Too Many SOQL Queries: 101 in VBT Product DataPack Deploy

Udgivelsesdato: Oct 9, 2026
Beskrivelse

Issue: Too Many SOQL Queries (101) During Product DataPack Deployment

Deploying a Product DataPack with the Vlocity Build Tool (VBT) to a Salesforce Industries org can fail with the error "Too many SOQL queries: 101". The org runs Salesforce Industries CPQ (Vlocity) with Order Management (OM) Standard.

The error comes from the Salesforce governor limit that caps a single transaction at 100 SOQL (Salesforce Object Query Language) queries. The failure typically occurs only for a product with a large number of dependencies, such as many child products, attributes, or related records. Smaller products in the same org deploy successfully.

Cause: XOMTrackingTriggers Queries the SyncDeltaObject Object

Debug logs from the failed deployment show many SOQL queries running against the vlocity_cmt__SyncDeltaObject__c object in the Vlocity Communications, Media, and Energy (CME) managed package. The XOMTrackingTriggers trigger runs these queries.

The vlocity_cmt__SyncDeltaObject__c object supports Salesforce Industries Order Management (OM) Plus only. In an org configured for OM Standard, the object serves no purpose, but the trigger remains enabled by default and still fires for each record that the deployment processes.

A product with many dependencies produces many record operations in one transaction. The extra queries from the trigger add to the queries from the deployment itself and push the total past the limit of 100.

Løsning

Resolution: Disable XOMTrackingTriggers in Trigger Setup

Turning off the XOMTrackingTriggers trigger stops the unnecessary SOQL queries on vlocity_cmt__SyncDeltaObject__c, which is needed only for OM Plus. Disabling the trigger in an OM Standard org is safe, because OM Standard processing does not use the tracking data. The change is a configuration setting, so no code changes are required. Re-enable the trigger if the org later moves to OM Plus.

  1. Go to Setup, enter "Custom Settings" in the Quick Find box, and select Custom Settings. The list of custom settings opens.
  2. Find Trigger Setup in the list and click Manage. The Trigger Setup records open.
  3. Locate the XOMTrackingTriggers entry and click Edit. The edit page opens for that record.
  4. Set XOMTrackingTriggers to off (clear the active checkbox or set the value to false, depending on how the field is displayed), then click Save. The trigger is disabled for the org.
  5. Run the VBT deployment of the Product DataPack again. The deployment completes without the "Too many SOQL queries: 101" error.

If the Error Persists

If the error continues after the trigger is disabled, review the debug logs to identify which other object or trigger runs the most SOQL queries during the deployment.

Vidensartikelnummer

000393802

 
Indlæser
Salesforce Help | Article