Loading
Slack製品の問い合わせ先はSalesforce Helpへ統合・変更されます続きを読む
PHPの脆弱性に関する監視状況について 続きを読む

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

公開日: Oct 7, 2026
説明

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.

解決策
  1. Split the DataPack into smaller groups
  2. Activate the parent OmniScripts separately after the deployment has completed.
その他のリソース

Omnistudio Build Tool Commands - https://help.salesforce.com/s/articleView?id=xcloud.os_build_tool_commands.htm&type=5

ナレッジ記事番号

005461272

 
読み込み中
Salesforce Help | Article