Examine Scheduling Policies
After completing this unit, you’ll be able to:
- List the parts of a scheduling policy.
- Describe and create work rules.
- List and view service objectives.
Anatomy of a Scheduling Policy
Each scheduling policy is made up of work rules and service objectives. Work rules determine which candidates can complete the job. Do the candidates have the required skills? Are they available in the right territory at the right time? These kinds of questions eliminate unqualified candidates.
Once you have a list of qualified candidates, service objectives use your business priorities to choose the best candidate for the job. For example, if your top priority is to minimize travel, the qualified candidate closest to the job site is the best choice.
Start with Work Rules
Remember the pass/fail grading system at school? Work rules assess mobile workers in a similar way. If a work rule specifies the Los Angeles territory, the scheduler asks: Does the candidate work in the Los Angeles territory? If no, they fail. If yes, they pass and are considered for a Los Angeles job.
The scheduler moves on to the next work rule. Does the candidate have the necessary skills to complete the job? If no, they fail and aren’t considered for the job. If yes, the candidate passes and the scheduler moves on to the next rule. Work rules reduce the pool of candidates from all possible mobile workers to just those who can do the job.
The managed package ships with several work rules. Some rules apply to candidates. For example, Match Skills ensures that a candidate is qualified to do the job. And Required Resource ensures that the specified worker works with a certain customer.
Some rules apply to time. Service Appointment Visiting Hours makes sure that the appointment is scheduled during a customer’s visiting hours. These are just a few examples. When you’re ready, explore the full list of standard work rules to see how they fit into your business.
If you schedule appointments automatically, your appointments always follow the work rules and all is well. But, if you schedule or reschedule appointments using drag and drop, they may violate work rules. For example, if you drag an appointment to a worker who doesn’t have a required skill, a rules violation occurs. A yellow triangle appears on the Gantt next to the appointment with a rules violation. The dispatcher uses the dispatcher console to resolve the problem.
Want to Get Hands-on with the Field Service Managed Package?
Want to try out the steps here? We don’t have any hands-on challenges in this module, but you can practice some of these steps in the Trailhead Playground you created for the Install the Field Service Managed Package project, with the package you installed. Here’s how to access your playground. First, make sure that you’re logged in to Trailhead. Then click your user avatar in the upper-right corner of this page and select Hands-on Orgs from the dropdown. Click the username to launch the org you created in the Install the Field Service Managed Package project.
Create a Work Rule
If the standard rules don’t meet your needs, you can create one that does.
Ursa Major has discovered that sometimes it schedules mobile workers to work during their lunch break. That’s not okay. Ursa Major wants its mobile workers to have a 45-minute lunch break every day at noon. Maria also wants to add a fixed gap of 5 minutes at the end of each appointment so that the mobile workers can fill out their reports. So Maria creates a work rule to make sure that happens.
- From the App Launcher , select Work Rules.
- In the Work Rules tab, click New.
- Select the work rule’s record type. Maria selects Field Service - Service Resource Availability, and clicks Next.
- Define the work rule. Maria enters the following values.
- Name: Ursa Major Resource Availability
- Description: Determine lunch breaks
- Break start: 12:00
- Break duration: 45
- Select Fixed gap
- Minimum gap time: 5
- She leaves the other values blank.
- Click Save.
The new work rule appears in the list of available work rules. Later, Maria adds it to her scheduling policy to implement it.
Maria is familiar with the pass or fail world of work rules and how they narrow the list of candidates. But out of all the candidates who pass, which one is best for the job? That’s where service objectives come in.
Refine with Service Objectives
Once the scheduler has a list of qualified candidates, the next step is to rank them and pick the best one. If rules are pass or fail, service objectives are more like numeric grades: They’re weighted from most to least important.
More important service objectives receive a higher weight than less important ones. Each candidate gets a score based on how well they meet each service objective. The scheduler tallies the scores and recommends the candidate with the highest score.
Here’s a list of service objectives the managed package provides. As with work rules, you can create service objectives when you need them.
|Service Objective||How It’s Used||Example|
|ASAP||Measures how soon the appointment can be scheduled. ASAP is tricky, as it can contradict other objectives. For example, scheduling an appointment as soon as possible can result in more travel time.
If prompt service is an important consideration, assign a high weight.
|If an appointment is scheduled at the earliest moment possible (closest to the earliest start permitted or arrival window start), it gets a perfect score of 100. If it's scheduled at the last slot before the due date or arrival window end, it gets a score of 0.|
|Minimize Overtime||Measures the use of overtime hours needed for a service appointment. It favors slots requiring the least overtime.
If reducing overtime costs is an important consideration, assign a high weight.
|For an hour-long appointment:
|Minimize Travel||Measures travel time required for a service appointment. It favors the time slot requiring the least travel time.
If reducing travel costs like mileage, gas, and service costs is an important consideration, assign a high weight.
|In optimization operations—global optimization, resource schedule optimization, in-day optimization, and the Reshuffle action—travel time is presumed to be between 0–120 minutes.
In non-optimization scheduling operations—such as the Book Appointment, Candidates, Schedule, Fill-In Schedule, and Group Nearby Appointments actions—the score is based on the travel times available. Travel is calculated linearly between the closest and the furthest travel. For an appointment with three scheduling options, here’s how the options are scored.
|Preferred Resource||Measures whether an appointment is given to the preferred mobile worker.
If it’s important that the preferred mobile worker shows up, assign a high weight. If it’s critical that a certain worker shows up or stays away, use the Required Services or Excluded Services work rules.
|If an appointment is assigned to the preferred mobile worker, the score is 100. If it’s not, the score is 0.|
|Resource Priority||Ranks appointments based on the assigned the mobile worker’s priority.||A mobile worker with a value of 1 is rated the highest. Larger numbers indicate that the mobile worker has a lower score.|
|Skill Level||Measures how well a worker adheres to a work order’s skill requirement. Specify whether to favor the least- or most-qualified mobile worker.
Use this option to assign your most qualified workers to complicated work or high-priority accounts.
|If you choose the least-qualified skill level, the candidate with the lowest acceptable score for the skill wins. Let’s say that an acceptable installation skill level is 5. A mobile worker with an installation skill of 6 gets a higher score than a worker with an installation skill of 8.
Most-qualified is the opposite. The candidate with the installation skill of 8 gets the higher score. If there are multiple skill levels, the score is calculated with the average grade of each skill level.
- From the App Launcher , click the Field Service Admin tile.
- Click the Field Service Settings tab and click Go to Guided Setup.
- If Guided Setup checks permissions sets, click Go to Guided Setup again.
- Click Customize Scheduling Policies.
- Click the scheduling policy. Maria clicks Customer First.
Maria scrolls to the Service Objectives section and examines the values for each service objective. The pie chart makes it easy to see how they compare to each other. Maria has modified her service objectives, so they may not look the same as yours.
To change the weight of a service objective, move its slider. For now, Maria leaves the values as they are.
In this unit, Maria learned that scheduling policies are made up of strictly enforced work rules and weighted service objectives. She checked out the list of standard rules and created one. Then she examined the values for the service objectives in a scheduling policy.