logo

NJP

Conditional Scheduled Report to run only on certain days and certain times

Import · Jul 30, 2020 · article

FYI, In Orlando, Glide classes such as GlideDate, GlideTime and GlideDateTime are no longer working on a conditional script in a Scheduled Report.

Knowledge Article from HI: https://hi.service-now.com/kb%5Fview.do?sysparm%5Farticle=KB0827366

So, the workaround is to use Date() JavaScript object instead on Glide classes offered by ServiceNow.

Example: Below is the Scheduled Report which runs every 4 hours starting from Saturday 1st Aug 10AM till Monday 8AM

  1. Create a Report
  2. Go to Scheduled Report – Create New – Add the Report to it and set Run to Periodically and set Repeat Interval and Starting time to trigger the Schedule Report.

image

image

View original source

https://www.servicenow.com/community/itsm-articles/conditional-scheduled-report-to-run-only-on-certain-days-and/ta-p/2310569