Single resource optimization
Resource scheduling optimization (RSO) is flexible and can be configured to run optimizations based on your organization's scheduling needs. Sometimes you might need to optimize only a single resource's schedule, rather than a set of available resources.
Single resource optimization (SRO) provides a quick way to re-optimize a resource's schedule and travel route after schedule changes have occurred during the day.
This is helpful for when a resource:
- Has a gap in their schedule due to a cancellation.
- Is double-booked because an emergency work order was assigned.
- Is running late due to traffic or previous work.
- Has a schedule that was put together manually and wants a travel route with minimal travel.
If an individual resource's schedule needs to be re-optimized, a dispatcher can manually run single resource optimization. It can also be triggered by a workflow.
Unlike other RSO scenarios, SRO runs can't be scheduled.
- Dynamics 365 Field Service version 8.x+.
- RSO version 2.8+.
- Optimize Schedules is set to Yes for the bookable resource you need to individually optimize.
Step 1: Set up a goal
SRO is the only RSO scenario that doesn't require you to first set up an optimization scope. This is because the scope is automatically defined as bookings for the resource in a defined date range.
Goals define what RSO should consider and prioritize.
Go to Resource Scheduling Optimization > Optimization Goals > +New.
When creating a goal for SRO, keep in mind that SRO is typically used to clean up a schedule that was altered throughout the day. Consider the following recommendations:
Set Engine Effort Level to Very Light. This will hasten the SRO run, which helps dispatchers react more quickly to scheduling needs.
Remove the Schedule Within Working Hours constraint to allow more bookings to fit in the resource's schedule. This can be helpful if a dispatcher adds an additional emergency work order to the schedule. When this constraint is removed, the start time of a booking must fall within working hours and can spill over into non-working hours. When this constraint is added, RSO ensures there is time to travel back to the resource's ending location.
Remove constraints related to matching territory, roles, and characteristics because the scenario assumes the dispatcher knows best. This could lead to a situation where the dispatcher assigns a work order to a resource, runs SRO, and SRO deletes the booking because it does not match the resource's attributes.
Add Scheduling Lock Options and Scheduling Windows constraints so SRO upholds time promises or SLAs with the customer.
Next, add your SRO goal as the default goal.
Go to Resource Scheduling > Settings > Administration > Scheduling Parameter > Resource Scheduling Optimization and enter your newly created default goal.
A default goal is created automatically when RSO is deployed.
Step 2: Run and view results
Most RSO scenarios require that you also set up a schedule, but this isn't necessary for SROs. This is because the SRO is manually run from the schedule board or through a workflow.
There are three ways to run SRO:
- One click with defaults.
- Run after making changes to defaults.
- Run as simulation.
One click with defaults
In Field Service version 8.0+, you can right-click a resource from any schedule board view and select Optimize Schedule.
You will now see:
A yellow line on the schedule board that indicates default optimization range, from now to the end of today (12:00 AM).
A gray mask behind the resources on the schedule board that indicates default optimization range, from now to the end of today (12:00 AM).
An Optimizations panel showing the resource's name, default range, default goal, and optimization request status.
Optimization side panel is only displayed in schedule board tabs created by RSO scopes.
Run after making changes to defaults
You can also change the default goal and time range before running the optimization. For instance, extending the time range to a second day means that SRO might take jobs from the next day and fit them in the first day if the resource has availability.
Select a resource's name and then go to the Optimizations panel.
This capability is only available from the schedule board view associated with the optimization scope.
Set the optimization range to the date and time.
Select the optimization goal.
Select Run Now to run the optimization and schedule bookings.
Run as simulation
By running SRO as a simulation, you can see the resulting optimization before committing to it. Proposed bookings appear on the schedule board in white, as seen in the following screenshot.
To run a simulation, right-click a resource and select Optimize Schedule.
This time, instead of selecting Run, select Run as simulation.
Finally, go to the Optimization Request to Apply or Discard simulation results.
Simulated bookings don't show on maps with routes.
- A default goal is required for single resource optimization to work. A default goal is automatically created when deploying the optimization.
- Single resource optimization only re-optimizes current bookings and does not create new bookings.
- Single resource optimization can re-optimize bookings that were booked manually, through resource availability search, or based on location agnostic requirements.
- This capability appears on the schedule board for all resources as long as optimization is deployed in the environment. However, single resource optimization only works if Optimize Schedules is set to Yes for the bookable resource. The single resource optimization capability can't be disabled or hidden.