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.

Change Calendar not displaying changes that run longer than 3 months

humblecommitted
Kilo Guru

Hello community,

i have an issue with the calendar view.

I am running a calendar report based on the planned start date of a change request, when the planned start and end dates are longer than a year, it eventually disappears from the calendar report.

find_real_file.png

find_real_file.png

find_real_file.png

If I change the filter to report based on planned end date it shows up.

find_real_file.png

If I shorten the dates it shows up normally.

find_real_file.png

find_real_file.png

Please help!

Thank you.

1 ACCEPTED SOLUTION

pieter_goris
ServiceNow Employee
ServiceNow Employee

Hi,



this behavior is actually the expected behavior. If the (new, Helsinki) calendar report is opened in a month view, it goes back a maximum of 30 (sometimes it looks like 31 days because of timezone) days to fetch records to be shown on the calendar report. In your example, when you show February, Jan 30 is still shown on the report. Now it goes back 30 days, so changes with a planned start date on Dec 30 or later are shown. So in your screenshot the change has a planned start date of Dec 29, so not show when you view February.



If you switch to the year view, the change is shown.



The '30 days back' is actually controlled by a property (that you might have to set: Add a property ) called 'glide.report.calendar.max_days_back'. You can change the value from 30 to something else. The higher the number, the longer it takes to fetch the records and render the report.



Hope this helps.



Cheers, Pieter


View solution in original post

6 REPLIES 6

pieter_goris
ServiceNow Employee
ServiceNow Employee

Hi,



this behavior is actually the expected behavior. If the (new, Helsinki) calendar report is opened in a month view, it goes back a maximum of 30 (sometimes it looks like 31 days because of timezone) days to fetch records to be shown on the calendar report. In your example, when you show February, Jan 30 is still shown on the report. Now it goes back 30 days, so changes with a planned start date on Dec 30 or later are shown. So in your screenshot the change has a planned start date of Dec 29, so not show when you view February.



If you switch to the year view, the change is shown.



The '30 days back' is actually controlled by a property (that you might have to set: Add a property ) called 'glide.report.calendar.max_days_back'. You can change the value from 30 to something else. The higher the number, the longer it takes to fetch the records and render the report.



Hope this helps.



Cheers, Pieter


Hello Pieter,



I wanted to show you some additional information that I uncovered.   It looks like the details are actually set for "Within a year".   Here is some screen shoots that reflect that:



date range


find_real_file.png


calendar year view shows days longer than 30 days, actually spans the whole year:


find_real_file.png


find_real_file.png


Here is a configuration I found for the duration of reports that may be linked to this:


find_real_file.png



However, I did what you recommended and low and behold, it works.



I went to sys_properties.list and added the property named glide.report.calendar.max_days_back and extended the threshold to 2 years approx.~ knowing the risk of lag.


find_real_file.png


find_real_file.png



and now it works.


find_real_file.png