ForceChallenges
ProblemsDailyNotesInterview
Sign in

Practice

All problemsSOQL practiceApex trigger challengesDaily challengeOpportunityTrigger.oldMapBefore UpdateBulkificationContactValidationGROUP BYSemi-JoinAccountBefore Insert

Interview questions

All questionsAdminAdministrationApexApex TriggerAsync ApexDevelopmentField ServiceField ServiceIntegrationLwc

By company

DeloitteSalesforceAccentureInfosysPwCCognizant

Learn

Study notes

ForceChallenges

AboutContact usPrivacy PolicyTerms of ServiceFor AI assistants (llms.txt)
© 2026 ForceChallenges · Salesforce SOQL & Apex trigger practice
Field Service questions30 of 108
Field ServiceMedium 1 min read

How do you deploy Scheduling Policies, Work Rules and Service Objectives between Salesforce orgs?

Answer

In the Field Service managed package, Scheduling Policies, Work Rules and Service Objectives are records (data), not metadata. They do not travel in change sets or standard metadata deployments.

Approach

  1. Export the records with Data Loader, Salesforce CLI data commands or a deployment tool.
  2. Load in dependency order: Work Rules and Service Objectives first, then the Scheduling Policy, then the junction records that link them.
  3. Keep relationships using external IDs, because record IDs differ per org.
  4. Verify in the target org by opening the policy and running a test schedule.

The same data approach applies to Operating Hours, Territories and Work Types. Plan it as a repeatable script to avoid manual drift between sandbox and production.

DeploymentScheduling PolicyData Migration
Practice SOQL & Apex
PreviousWhat are Optimization Requests and Optimization Insights, and how do they help troubleshoot Resource Schedule Optimization?Next How do time zones affect scheduling in Field Service, and what configuration mistakes cause wrong slots?

More Field Service questions

  • What is Service Resource Efficiency in Field Service and how does it influence scheduling?
  • Write a SOQL query to find active Service Resources that have no appointments scheduled tomorrow.
  • Write Apex that creates a Service Appointment for a Work Order with a 60-minute duration and a scheduling window.
  • Write a SOQL query that lists tomorrow's scheduled Service Appointments with the technician name for each.
  • What are Field Service Mobile Settings and how do you give different technician groups different mobile configurations?