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 call start date of holiday

Vamsi Krishna
Tera Contributor

Hi,

 

I have a requirement that I need to get the holiday dates mentioned in the cmn_schedule  table name Bank holiday in that list of holidays will be there, if any Security Incident is created with in that bank holiday time it should create a automatic itsm incident and should assign to xyz team.

 

Can you please guide me how can I achieve.

1 ACCEPTED SOLUTION

Tony Chatfield1
Kilo Patron

Hi, have you looked at the GlideSchedule API?

GlideSchedule | ServiceNow Developers

Depending on your schedule configuration it may be possible to utilize isInSchedule() to validate your requirement.

View solution in original post

2 REPLIES 2

Tony Chatfield1
Kilo Patron

Hi, have you looked at the GlideSchedule API?

GlideSchedule | ServiceNow Developers

Depending on your schedule configuration it may be possible to utilize isInSchedule() to validate your requirement.

@Tony Chatfield1 thank you, I have gone the glideschedle api and has completed my requirements

.