SLA Schedule のための iCalendar または純正形式の祝日カレンダー供給

ToruH
Tera Contributor

SLA のタイマーランを営業時間 (平日9:00-17:30)に限定するため、現状下記のようなことを JS で行おうとしています。

* Google カレンダーの「日本の祝日」を取得

* 七五三、クリスマスなど、法定休日でないものを除外

* Schedule Entry に追加

 

ところが、下記のリスクがあり、このスクリプトがいつまで使えるか定かでありません。

 

* Apple や MS のように、自社のカレンダーアプリからしか照会できなくされる可能性

* 表記の乱れ (大晦日、大みそか、etc.) により、知らない間に取りこぼす可能性

 

ServiceNow 純正の iCalendar 配信、または Schedule を購読できる機能ができれば良いと思います。

その際、自動車業界 (トヨタ) カレンダー、銀行カレンダーなどの典型的なものがあればなお良いと思います。

2件の返信2

Mark Manders
Mega Patron

You can automate reminders to be added every year to check on the holidays for next year. Those are the same every year (or at least announced). Relying on external calendars can be done, but you are then putting the responsibility with 3rd party applications. They can also forget something.

And, don't forget that ServiceNow is used everywhere in the world and you don't want everything on every instance.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

J Siva
Tera Sage

Hi @ToruH 
If you have a reliable public calendar managed by your government and it provides APIs to consume the data, you can create a Data Source of type File with the format set to JSON, including the necessary server and credential details. Then, create a Scheduled Job to assign a task to the fulfillment team to load the data from the data source.
Regards,
Siva