How to put a restriction for planned start date and current date have 2 business days as lead time
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-14-2023 07:52 AM
Hi,
I need a help for one of my requirement where I need to check if selected planned start date is 2 business days as lead time from current date and if its less than 2 business days then need to make a field mandatory in a form for justification.
Can someone please help me with above requirement how to achieve it.
Thanks in advance!
Priyanka
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-14-2023 08:00 AM
Hi @Priyanka77
Something similar
https://www.servicenow.com/community/itsm-articles/change-management-lead-times/ta-p/2299624
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]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-14-2023 08:47 AM
Thanks for your response @Dr Atul G- LNG. I am able to achieve the functionality via client script but how we can exclude weekends for this validation. Any suggestion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-14-2023 08:51 AM
Hi @Priyanka77
https://www.servicenow.com/community/developer-forum/calculating-business-days/m-p/2216452
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]
****************************************************************************************************************