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.

Issue with Holiday Exclusions in Child Schedules Affecting Main Schedule

Mohamed Elsayed
Tera Expert

 

Hi All,

 

We have a main schedule called "09:00 - 17:00" with a floating time zone. It has one schedule entry: "9:00 to 17:00, repeat every weekday Monday to Friday". as shown below:

MohamedElsayed_0-1744878430402.png

This schedule has four child schedules for holidays to cover three regions (UK, US, and Singapore):

  • Holiday schedule for UK: Time zone: Europe/London - Type: Include - Contains 15 schedule entries with type exclude.
  • Holiday schedule for US: Time zone: US/Central - Type: Include - Contains 24 schedule entries with type exclude.
  • Holiday schedule for SG: Time zone: Singapore - Type: Include - Contains 18 schedule entries with type exclude.
  • Global Holidays: Time zone: empty - Type: Include - Contains 2 schedule entries with type exclude, which should apply to all regions.

MohamedElsayed_1-1744878941794.png

 

The issue:

For example, 21st of May is a holiday in the UK ("Easter Monday") but it is not a holiday in the US or SG. However, when I click "Show schedule" in the main schedule "09:00 - 17:00," I see that the 21st is marked as off for all regions. My expectation is to see the blue bar for "Timing 09:00-17:00" from the main schedule, and under that, the gray "UK: Easter Monday" from the UK schedule. This does not happen.

Any thoughts?

 

Update:

Screenshot for clarity, 21st should be off only for UK not for all regions as shown below:

MohamedElsayed_0-1744888476316.png

 

1 ACCEPTED SOLUTION

Mohamed Elsayed
Tera Expert

I logged a ticket with ServiceNow and this is their response:

Solution Proposed:
From the product documentation, you can create a holiday schedule for multiple regions in the following way in your case:
1) Add the work schedule as a child schedule to each region's holiday schedule. For example:

  • Holiday schedule for UK + main schedule "09:00 - 17:00" as a child + Global Holidays as a child
  • Holiday schedule for SG + main schedule "09:00 - 17:00" as a child + Global Holidays as a child

2) If you make the regional holiday schedule a child schedule of the work hours schedule, you must create a separate work hours schedule for each region. For example:

  • UK "09:00 - 17:00" work + Holiday schedule for UK as a child + Global Holidays as a child
  • SG "09:00 - 17:00" work + Holiday schedule for SG as a child + Global Holidays as a child

 

So it seems we cannot see all holidays in one calendar if we have different holiday schedules for different regions.

View solution in original post

4 REPLIES 4

J Siva
Kilo Patron
Kilo Patron

Hi @Mohamed Elsayed 
I think that's the expected behavior. In the schedule, we won't see any color difference based on the region. Please find below the picture from my PDI. I have two child schedule entries for different time zones, yet both of them have the same blue background. 

JSiva_0-1744885585827.png

Regards,
Siva

 

Thanks @J Siva, Sorry, I wasn't clear enough in my question. I meant that the 21st is a holiday only in one region. So, I expect to see something similar to what you've shared: a blue bar for the 9:00 - 17:00 timing, and below that, the UK holiday bar, not as shown below in my calendar where it shown as a day off for all regions.

.

MohamedElsayed_0-1744886926403.png

 

Mohamed Elsayed
Tera Expert

UP

Mohamed Elsayed
Tera Expert

I logged a ticket with ServiceNow and this is their response:

Solution Proposed:
From the product documentation, you can create a holiday schedule for multiple regions in the following way in your case:
1) Add the work schedule as a child schedule to each region's holiday schedule. For example:

  • Holiday schedule for UK + main schedule "09:00 - 17:00" as a child + Global Holidays as a child
  • Holiday schedule for SG + main schedule "09:00 - 17:00" as a child + Global Holidays as a child

2) If you make the regional holiday schedule a child schedule of the work hours schedule, you must create a separate work hours schedule for each region. For example:

  • UK "09:00 - 17:00" work + Holiday schedule for UK as a child + Global Holidays as a child
  • SG "09:00 - 17:00" work + Holiday schedule for SG as a child + Global Holidays as a child

 

So it seems we cannot see all holidays in one calendar if we have different holiday schedules for different regions.