How to achieve grey out public, weekends, and exception holidays as per schedule calendar.

sallooriram
Tera Contributor

Hi, I have a requirement to disable weekends and holidays (including public and exception holidays) on a date picker field according to our schedule calendar. The schedule has entries for working hours along with holiday and exception lists.

2 REPLIES 2

Ankur Bawiskar
Tera Patron

@sallooriram 

not possible.

run onChange client script and let user select the date and do the validation and throw error if it fails

user will then select another date.

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

@sallooriram 

Just following up to see whether my suggested approach worked for you.

If you're still facing any issues, I'd be happy to help further.

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader