Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

Date statements breaking in visualisations

David-W
Kilo Contributor

Hello

 

I am having an issue with date statements in data sources for visualisations. When I use a statement like created is less than 7 days ago, when  I go back and edit the filter it looks like this:

Created > javascript:gs.daysAgo(7)

and is working fine.

 

When  I do the same for created at or after 3 months the result is:

Created >= 01-08-2024 00:00:00

and the date doesn't update each month, meaning  I have to go back and fix all my reporting every month.

 

How can I fix this?

0 REPLIES 0