Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to set the calendar date to select only working's weekend should be freezed

kapil_0604
Giga Contributor

In my query, the user able to select only the working day(monday to friday) weekends are not allowed to select

2 REPLIES 2

AnveshKumar M
Tera Sage
Tera Sage

Hi @kapil_0604 

You can refer the following thread for this query.

 

https://www.servicenow.com/community/developer-forum/how-to-remove-sundays-and-saturdays-from-the-ca...

 

Please mark my answer helpful and accept as solution if it helped 👍✔️

Thanks,
Anvesh

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @kapil_0604 

 

I prefer keep the calendar like this and add a validation for user. If Sat / Sun selected user will get a message.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************