Validations on Launch
This section lists different types of validation error messages on launch of the event.
1. The following error message is displayed on dragging and dropping a work order on Gantt, if one of the following is true:
Creation of events has not been enabled for the selected technician
◦ You dropped the work order on Gantt against a Service Team or Territory. Events can be created only for technicians.
◦ You dropped the work order on Gantt against a technician who does not have an associated Salesforce User or Enable Scheduling checked, and global configuration setting
GBL025 is set to Salesforce Event.
◦ You dropped the work order on Gantt against a technician who does not have Enable Scheduling checked, and global configuration setting
GBL025 is set to ServiceMax Event.
2. When you launch the New Event window, a check is made to see if the Arrive time and Depart time of the event is within the preferred business (machine access) hours. This depends on the following factors:
◦ Group configuration setting
SET012 is set to Warn: In this case, the following warning message is displayed:
StartTime is not within Machine Access Hours, should be greater than or equal to:<Machine Access Hours Start Time>
Similarly, for Depart time, the following warning message is displayed:
EndTime is not within Machine Access Hours, should be lesser than or equal to <Machine Access Hours End Time>
However, you will be able to create the event.
◦ Group configuration setting
SET012 is set to Disallow (default value): In this case, the following error message is displayed:
Events must start within the machine access hours
And, the Schedule button will be disabled. You must change the Arrive time and/or Depart time to be within the preferred business hours to enable it.
3. When you launch the New Event window, a check is made to see if the Arrive time and Depart time of the event is within the technician's business hours. This depends on the following factors:
◦ Group configuration setting
SET021 is set to Warn (default value): In this case, the following warning message is displayed:
StartTime is not within Technician Working Hours, should be greater than or equal to: <Technician Working Hours Start Time>
Similarly, for Depart time, the following warning message is displayed:
EndTime is not within Technician Working Hours, should be lesser than or equal to: <Technician Working Hours End Time>
However, you will be able to create the event.
◦ Group configuration setting
SET021 is set to Disallow: In this case, the following error message is displayed:
Event must start within the technician's working hours
And, the Schedule button will be disabled. You must change the Arrive time and/or Depart time to be within the technician’s working hours to enable it.
For the above check, technician's Working Hours are considered if available and active. Else, technician’s Territory’s Working Hours are considered if available and active. Else, the organization’s default Business Hours are considered. Any holidays associated with the business hours are considered as non-working hours.
However, technician’s / territory’s Break Hours are not considered as non-working hours.