Loading

Salesforce Field Service Mobile App: Deep Link to Create Service Document Fails When the Service_Report_Flow App Extension Is Active

Дата публикации: May 11, 2026
Описание

In Salesforce Field Service (SFS), Service Reports and Service Documents can be generated from multiple entry points, including Flows and deep links launched from a Lightning Web Component (LWC).

What Is the Service_Report_Flow App Extension?

When an app extension with the API name Service_Report_Flow is created under Field Service Mobile Settings, Salesforce enforces a requirement that the associated Flow must run before a Service Report or Service Document can be created. When this extension is active:

  • The standard Create Service Report and Create Service Document buttons are no longer available in the app.
  • All service document creation must go through the configured Flow.

What Is the createServiceReport Deep Link?

The createServiceReport deep link is a URL-based trigger that allows a Lightning Web Component (LWC) to launch the Create Service Document action directly. It uses the following format: a URL beginning with the Salesforce Field Service protocol, followed by the record ID and the createservicereport action path.

What Error Occurs?

When you attempt to launch Create Service Document from an LWC using the createServiceReport deep link while Service_Report_Flow is enabled, Salesforce displays the following error:

"Ask your Salesforce admin to use Service_Report_Flow for this link."

This error occurs because the deep link attempts to invoke the standard Create Service Report/Create Service Document action, which is unavailable when Service_Report_Flow is active.

Решение

The conflict occurs because the Service_Report_Flow app extension disables the standard service document creation path. The deep link relies on this standard path and cannot function while the extension is active.

Option 1: Disable or Delete the Service_Report_Flow App Extension

To restore the standard behavior and allow the createServiceReport deep link to function:

  1. Navigate to Setup > Field Service Mobile Settings.
  2. Locate the App Extensions section.
  3. Find the extension with the API name Service_Report_Flow.
  4. Disable or delete this extension.

Once removed, the standard Create Service Report and Create Service Document buttons are restored, and the deep link functions as expected.

Option 2: Use the Service_Report_Flow Extension for All Service Document Creation

If your organization requires the Service_Report_Flow to run before document creation, all service document creation must be routed through the configured Flow. Deep links that bypass this Flow are not supported when Service_Report_Flow is active.

This Behavior Is Working as Designed

The enforcement of Service_Report_Flow over the standard deep link path is intentional. Organizations must choose one approach: either use the Flow-based extension or use the standard deep link — not both simultaneously.

Дополнительные ресурсы
Номер статьи базы знаний

005306440

 
Загрузка
Salesforce Help | Article