Skip to content

Commit f6c55bb

Browse files
author
Wendy Smith
committed
Add booking lock error
1 parent cbd197a commit f6c55bb

1 file changed

Lines changed: 41 additions & 0 deletions

File tree

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
title: Troubleshoot booking locks from Resource Scheduling Optimization
3+
description: Resolves issues with bookings in the Resource Scheduling Optimization add-in for Microsoft Dynamics 365 Field Service.
4+
ms.author: AnilMur
5+
author: anilmur
6+
ms.reviewer: mhart
7+
ms.date: 12/19/2024
8+
ms.custom: sap:Resource Scheduling Optimization
9+
---
10+
# Troubleshoot issues with booking locks in Resource Scheduling Optimization
11+
12+
This article helps troubleshoot issues with booking locks in the [Resource Scheduling Optimization add-in](/dynamics365/field-service/rso-overview) for Microsoft Dynamics 365 Field Service.
13+
14+
## Symptoms
15+
16+
A locked booking can't respect all defined constraints. The optimization request continues, but skips over the identified resources that have violations and displays the following error:
17+
18+
**System failed to optimize some records. Inner error(s): Locked booking is infeasible, reason: `Violation`. Tracing data points: `RequirementId`, `RequirementName`, `BookingId`, `BookingName`, `ScheduledTimeWindow`, `FullTimeWindow`, `ArrivalTime`, `Lock Type`**
19+
20+
## Resolution
21+
22+
The tracing data points help you identify what went wrong. Try updating the booking settings to address the violation reason before running Resource Scheduling Optimization again.
23+
24+
### Violation types
25+
26+
- The locked booking cannot fulfill the time window filter.
27+
28+
- **LockBookingTimeWindowFilter**. Potential scenarios:
29+
- Locked booking is outside of resource working hours
30+
- Invalid promised time window
31+
- Invalid travel time
32+
33+
- **ResourceBreakTimeWindowFilter**. A locked booking conflicts with a [scheduled break time](set-work-hours-resource.md).
34+
35+
- The eligibility check failed with constraint.
36+
37+
- **MeetsRequiredSkills**. A locked booking has an invalid match of the [resource skill characteristics](set-up-characteristics.md).
38+
39+
- **MeetsRequiredRoles**. A locked booking has an invalid [resource role match](/training/modules/configure-bookable-resources-urs-dynamics-field-service/).
40+
41+
- **MeetsResourcePreferences**. A locked booking has an invalid [“must choose from” or “restricted” resource](resource-preferences.md).

0 commit comments

Comments
 (0)