Administrators enabling Salesforce Field Service through guided setup (Salesforce Go → Field Service Initial Setup) may find that setup never completes at the "Create Field Service Console App" step.
Salesforce Field Service initial setup deploys metadata to the org, including creating the Field Service Console application. If a custom Apex trigger in the org fires during that deployment transaction and throws an unhandled exception, the underlying metadata deployment fails and the setup step cannot finish.
Observations:
- The "Create Field Service Console App" step in Field Service Initial Setup does not complete and can be retried indefinitely without success.
- Setup → Deployment Status shows the setup deployment with a Failed / FAILED_FATAL_ERROR result, with some components deployed and one or more components in error.
- The deployment error names a custom Apex trigger and its handler class as the failing component.
1. Open Setup and enter Deployment Status in the Quick Find box, then select Deployment Status.
2. Locate the failed Field Service setup deployment (the operation that creates the Field Service Console App) with a Failed result.
3. Open the failed deployment and review the component errors. The error text names the custom Apex trigger and handler class that threw the exception, including the class name and line number.
4. In Setup, enter Apex Triggers in the Quick Find box and open the named trigger.
5. Deactivate the trigger. In a sandbox, edit the trigger and clear the Is Active checkbox; in production, deactivate it through your standard change-management deployment, because Apex triggers cannot be edited directly in production.
6. Re-run Field Service Initial Setup (Salesforce Go → Field Service → Turn on → Create Field Service Console App).
7. After setup completes, correct the trigger's logic (for example, guard against reading from an empty collection and bulkify the handler) and redeploy it in an active state so it no longer errors on future operations.
Verification
1. Setup → Deployment Status shows the Field Service setup deployment with a Succeeded result.
2. The Field Service Console app appears in the App Launcher and opens.
- Salesforce Help: Set Up Field Service — https://help.salesforce.com/s/articleView?id=service.fs_set_up.htm&type=5
- Salesforce Help: Monitor Deployments and View Deployment Details — https://help.salesforce.com/s/articleView?id=sf.deploy_monitoring.htm&type=5
- Salesforce Help: Manage Apex Triggers — https://help.salesforce.com/s/articleView?id=sf.code_define_trigger.htm&type=5
- Related article: Troubleshoot Deployment Failures (ArticleNumber 005335625)
005391185

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.