Salesforce では、Lightning Web コンポーネントから起動したフローやディープリンクなど、複数のエントリポイントからサービスレポートやサービスドキュメントを生成できます。
[Field Service Mobile 設定] で API 名 Service_Report_Flow を使用してフローを含むアプリケーション拡張を作成すると、Salesforce はサービスレポートまたはサービスドキュメントを作成する前に、その関連するフローの実行を強制します。 標準の [サービスレポートを作成] ボタンと [サービスドキュメントを作成] ボタンは使用できなくなりました。
Service_Report_Flow が有効になっている場合、createServiceReport ディープリンク (com.salesforce.fieldservice://v1/sobject/${this.recordId}/createservicereport) を使用して Lightning Web コンポーネントから直接 [サービスドキュメントを作成] を起動しようとすると、Salesforce に次のエラーメッセージが表示されます。
「Ask your Salesforce admin to use Service_Report_Flow for this link.」(このリンクで Service_Report_Flow を使用するように Salesforce システム管理者に依頼してください)
これは、ディープリンクが標準の [サービスレポートを作成]/ [サービスドキュメントを作成] アクションを呼び出そうとするためです。このアクションは、Service_Report_Flow が有効になっている場合は使用できません。
Service_Report_Flow アプリケーション拡張を無効化または削除すると、標準動作が復元され、ディープリンクが正しく機能します。
これは設計どおりの動作です。
005306440

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.