Field Service では、サービステリトリーオブジェクトの組織の共有設定 (OWD) が [公開/参照・更新可能] または [公開/参照のみ] に設定されている場合、新しいサービステリトリーレコードは対応するテリトリー公開グループと自動的に共有されません。
そのため、ユーザーテリトリーレコードが割り当てられ、テリトリー公開グループに追加された派遣担当者ユーザーは、ディスパッチャコンソールやその他の場所でサービステリトリーレコードを表示できません。
反対に、サービステリトリーの OWD が [非公開] に設定されている場合、新しいサービステリトリーレコードは自動的にテリトリー公開グループと共有され、ユーザーテリトリーが割り当てられている派遣担当者ユーザーは、共有の直接設定を追加で行わなくても対象レコードにアクセスできます。
確認された結果: 派遣担当者ユーザーがサービステリトリーレコードを表示できない。
期待される結果: 派遣担当者ユーザーが自分に割り当てられたテリトリーのサービステリトリーレコードを表示できる。
この動作は設計どおりです。テリトリー公開グループにメンバーを追加する自動共有メカニズムは、サービステリトリーの OWD が [非公開] の場合にのみトリガーされます。共有ジョブが必要となるのはこの設定の場合に限られるためです。https://help.salesforce.com/s/articleView?id=service.fs_territory_guidelines.htm&language=en_US&type=5
サービステリトリーの作成時に、サービステリトリーの OWD (組織の共有設定) が [公開] に設定されている場合、 この設定で作成された新しいサービステリトリーは、公開グループと自動的には共有されません。
後で OWD を [非公開] に変更しても、既存のサービステリトリーは公開グループと自動的には共有されません。
ただし、組織の作成時から OWD が [非公開] に設定されている場合、新しく作成されたサービステリトリーは、公開グループと自動的に共有されます。
オプション 1 - OWD を [非公開] に切り替える (推奨)
オプション 2 - 共有の直接設定 (一時的な回避策)
共有の直接設定は、テリトリーやユーザーが多い場合はスケーラブルかつ長期的なソリューションとはいえません。オプション 1 は、FSL のユーザーテリトリー共有モデルを使用する組織にお勧めの方法です。
エラー メッセージは表示されません。ユーザーテリトリーのスケジュール済みジョブは正常に完了するものの、TotalJobItems:0 の場合、共有レコードは作成されません。
問題の再現手順 (OWD = 公開):
005388613

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.