Walk-up Experience Configuration Question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
In ServiceNow Walk-up Experience, I need to have two different types of appointments; one (call it ATA) takes an hour and the other (call it ATB) takes 30 minutes. So they will each need their own Advanced Configuration (sn_apptmnt_booking_service_config) record. The problem I'm having is that if an appointment of type ATA is booked, then ATB type appointments need to not be available for that timeslot, and visa versa.
I.e. if someone books an ATA (1-hour) appointment from 10:00-11:00, and ATB appointments are 30 minutes long, the system might still show availability for ATB at 10:00 or 10:30 which would cause a conflict.
Is there a way to configure this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Unfortunately there’s no OOTB way to prevent ATB slots from showing if ATA is booked, but you can change the Availability Method on your sn_apptmnt_booking_service_config record to Scripted, write a script that queries the wu_appointment table for overlapping bookings for that service and time window, and if ATA is booked for 10:00-11:00 your script returns no availability for ATB at 10:00 & 10:30 while allowing other free slots....
If you found my response helpful, please mark it as ‘Accept as Solution’ and ‘Helpful’. This helps other community members find the right answer more easily and supports the community.
Kaushal Kumar Jha - ServiceNow Consultant - Lets connect on Linkedin: https://www.linkedin.com/in/kaushalkrjha/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Thank you, @kaushal_snow ! I am trying to use the scripted method but haven't even been able to make the script run. For testing purposes, I even took everything out of the script and just put a gs.info statement in and that didn't log when I tried to book an appointment. I've not been able to good documentation on this. Is there any that you know of?
