Too many query rows:50001 (クエリの行が多すぎます: 50001) というエラーにより操作が失敗します。これにより、単一のテリトリーが選択されている場合でも、状態チェックが完了しなくなります。通常、この問題は最適化のしきい値を増やしたり、対象期間を延長したりした後に発生または悪化します。 注意:組織の ServiceAppointment 件数を確認するには、Developer Console で次の SOQL クエリを実行します。
結果が 50,000 件を超えると、状態チェックは失敗します。上限に近い場合 (45,000 件以上など) は、将来的な増加に備えて次の解決戦略を実装することを検討します。
注意:この回避策では、スケジュール済みの予定は検証されません。長期的なデータクリーンアップを計画しつつ、テリトリーの設定を確認する目的で使用します。
Match Territory 種別の作業ルールをスケジュールポリシーに追加します。これにより、状態チェックの実行中に評価された ServiceTerritoryMembers の範囲が絞り込まれ、データを削除しなくても照会される関連レコードが減少します。 Match Territory 種別の新しい作業ルールを追加します。注意:ServiceAppointments のアーカイブまたは削除は恒久的です。続行する前に、保存ポリシーがビジネスおよびコンプライアンスの要件に従っていることを確認してください。対象期間を短縮すると、その期間外にある予定については、状態チェックで最適化の機会を検出できなくなる恐れがあります。
005387654

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.