Ranked Appointment Booking Execution Flow
This section describes the workflow of events when the dispatcher books an appointment for a work order.
The following diagram depicts the workflow of ranked appointment booking.
The process flow for ranked appointment booking is as follows:
1. Dispatcher or planner clicks Get Appointment in the work order. The Ranked Appointment Booking page is displayed with the available appointment slots. The following processing timings are used during the transaction:
Apex execution Time: The time taken to process and form the request within Salesforce
HTTP Time: The time taken to process the callout request to Schedule Optimization server and to get the response
* 
HTTP processing time is not included when calculating the 5-second limit of LRT. SFDC pauses the timer and resumes it when the processing completes.
2. Dispatcher or planner confirms the slot for the appointment, and then clicks Book. The selected arrival window details are sent to the Schedule Optimization server, and the confirmation message is displayed in the Ranked Appointment Booking page. When the booking is successful, appointment details are updated in the work order and the work order is scheduled within the selected window.
Was this helpful?