Date Filter between Months
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2026 05:40 AM
Is there any way to filter a list between months without the year?
e.g. April to September, October to March
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2026 05:49 AM
OOTB it is not possible.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2026 07:38 AM
It seems impossible but, I found a way to overcome this requirement.
To get all records between specific month, I used the "trend" operator.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2026 06:47 AM
Hi there @paulmagaling
not with the out-of-the-box Date filter alone- not possible.
But yes, it is can be done with either relative date logic or a scripted/encoded query approach, whats the usecase?
You can use a before query BR if you need it to be reusable
(function executeRule(current, previous) {
var m = new GlideDateTime().getMonthUTC() + 1;
if (!(m >= 4 && m <= 9)) {
current.addQuery('sys_id', 'ISEMPTY');
}
})();
Kind Regards,
Azar
Serivenow Rising Star ⭐
Developer @ KPMG.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a month ago
For the platform analytics dashboard, I need to filter the asset_task table using the contract.ends, and get the records from this year's October to next year's March.

