How to restrict the users to not select the same day appointments

vamsisai
Tera Guru

Hi All,

Could anyone please share how to restrict a user to select same day appointments for a specific reason. 

vamsisai_0-1704832484010.png

Ex: if today is Monday, then for a specific reason user should not have the option to select any time slots for Monday. 

 

Regards,

Vamsi 

1 ACCEPTED SOLUTION

Lynda1
Kilo Sage

We use the Lead Time in the Appointment Booking Service screen

Lynda1_0-1704833028243.png

We do not want people to book an appointment 1 hour before the time they want, it has to be 4 hours minimum

View solution in original post

4 REPLIES 4

Lynda1
Kilo Sage

We use the Lead Time in the Appointment Booking Service screen

Lynda1_0-1704833028243.png

We do not want people to book an appointment 1 hour before the time they want, it has to be 4 hours minimum

Hi Lynda, 

 

Thank you for the quick response. I've updated the lead time to 1 day and it is blocked the calendar for one day. I have followed the below thread to apply these time slot changes to a specific reason but these changes were applying to all the reasons. Could you please let me know is there anywhere else i have to do the configurations.

 

Thank you for your time on this. 

https://www.servicenow.com/community/agent-chat-routing-and-sidebar/how-to-display-the-appointment-time-slots-based-on-the-reason/m-p/2784581#M335

 

Regards,

Vamsi 

I am far from an expert on the appointment booking, we only have one configured, will be adding more soon.

Poking around,  it looks like you can use the Lead time in a Service configuration rule. Create a rule for each service

Lynda1_0-1704844616475.png

 

Then in the Advance Configuration tab you can select the Rule created on the other tab

Lynda1_1-1704844723749.png

Now I am curious if this works!!!

 

Thank you for the response Lynda, by adding the lead time in Service configuration rule able to block the time slots. Appointment variable set has a field named "Service Configuration Rule"( hidden on the portal form) based on the selected reason for visit the above field populates with sysID of associated reason  Appointment booking configuration rule which leads to display the configured timeslots for the specific reason. 

 

Reason,

Vamsi