I want to implement holiday-jp.js with ServiceNow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-22-2023 10:24 PM
I have a date input variable in the catalog item, but I would like to disable the input of holidays and holidays.
I think that it will be checked with Catalog Client Script, but I think that it is necessary to import holiday-jp.js into ServiceNow in order to determine holidays.
How should I import the JS file?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-23-2023 01:00 AM
Hi @MiY
I don't think this is possible and also it would cause a lot of efforts which have to be repeated for experiences like Service Portal or Mobile App
Maik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-23-2023 01:01 AM
@MiY Hi!
Yes i have maintained a Holiday schedule for a very unique organization in terms of Holidays. ServiceNow sort of sets the table and tries to make things easier but it is impossible for them to sort of build every type of Holiday arrangement into the system. So yes things like every 3 wed of the month is built in.
What I do is when our Holiday Calendar gets approved for the next 12 month or next fiscal year i go in and add those holidays in. Many times the next year i can pick up a record i created and update it for the appropriate day the next year.
The benefits of Holiday Integration outweigh the time to do it. Now for long term im talking years into the future scheduling for say resource planning its best to take every holiday and say it repeats every year
So suppose this year you got Dec 20-24 off- set it to repeat every yr- then adjust it to say 1\Dec 19-23 next yr- why do this? If you know you r company always has the week off before Christmas- the system will preset the days so when you do LONG term resource allocation estimates days off our accounted for - they will be tweaked when its appropriate but thats better then setting just this years week off before Christmas and not setting it to yearly- ( if your confident it will be yearly)
Yes it can be a painful manual process - but many good things come of it. Including SLA being on or off, resource planning, project planning etc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-23-2023 01:02 AM
@MiY Also, I wrote holiday schedules from API results via script
just create record using GlideRecord
sharing useful link
Adding Schedule entries via workflow script?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Thanks,
Sonia