Loading

OmniScript Deployment Using VBT Fails with "Too many SOQL queries: 101"

Udgivelsesdato: Oct 7, 2026
Beskrivelse

During an OmniScript deployment using Vlocity Build Tool (VBT), activation of a reusable OmniScript can result in processing of active parent OmniScripts that embed or reference it.

As VBT processes the OmniScript dependency hierarchy during activation, the active parent OmniScripts and their dependent or embedded components can contribute additional SOQL queries to the same transaction.

The total SOQL query consumption can therefore be affected by factors such as:

  • The number of active parent OmniScripts referencing the reusable OmniScript.

  • The number of embedded child elements within those parent OmniScripts.

  • The overall complexity and depth of the OmniScript hierarchy.

When the total number of queries exceeds the Salesforce governor limit for a synchronous transaction, activation fails with:

Too many SOQL queries: 101

This behavior is related to the structure and complexity of the active OmniScript dependency tree rather than the deployment package alone.

Løsning
  1. Split the DataPack into smaller groups
  2. Activate the parent OmniScripts separately after the deployment has completed.
Vidensartikelnummer

005461272

 
Indlæser
Salesforce Help | Article