FlowでSystem.QueryExceptionエラーが発生する場合、選択的検索条件を追加してクエリのパフォーマンスを向上させることが推奨されます。
選択的検索条件を追加することで、クエリのパフォーマンスを向上させることができます。クエリを選択的にする方法の詳細については、以下を参照してください。
SOQL Error System.QueryException: 大規模なオブジェクト種別に対する非選択的クエリ
上記を実行しても問題が解決しない場合、Salesforce サポートへの問い合わせを作成し、以下の情報を含めてください。
チューニング可能な要素があるかを調査します。
注意事項:
*参考情報:
デバッグログの設定
デバッグログ
その他:
SOQL のパフォーマンスチューニングにあたり、カスタムインデックスが必要な場合は以下の記事を参照してください。
カスタムインデックスが必要な場合の依頼方法について
レポートやダッシュボードコンポーネント、リストビューのパフォーマンスチューニングにあたり、カスタムインデックスが必要な場合は以下の記事を参照してください。
レポートやダッシュボードコンポーネント、リストビューのパフォーマンスチューニングについて
000395743

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.