
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2024 10:29 PM
Hi,
I want to add new option(Two years ago) to the filter,
I've added "answer.add('180_Two years ago@javascript:gs.monthsAgo(24)@javascript:gs.endOfThisMonth()', gs.getMessage('Two years ago'));" this in OOB BR-- Get Date Filter Options for Date Filters. but it isn't showing up.
Is there any other way to achieve this ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2024 01:55 AM
Hi @Community Alums
No, it's not possible to add. Please refer below post where ServiceNow support confirmed on the same:
You can create a relative filter and save it with visibility to everyone so that it could be reused.
Thanks & Regards
Amit Verma
Please mark this response as correct and helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2024 04:34 AM
Hi @Community Alums ,
Fo that you can give the filter condition as below,
Please mark this comment as Correct Answer/Helpful if it helped you.
Regards,
Swathi Sarang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2024 02:28 AM
@Community Alums Did you get a chance to look at the above solution ?
thanks
swathi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2024 10:33 AM
Thank you so much! This worked for me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-29-2024 03:33 AM
Hi @Community Alums
Filter for 2 Years ago is offered OOB. Can you please give that a try instead of creating a custom one.
Thanks & Regards
Amit Verma
Please mark this response as correct and helpful if it assisted you with your question.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2024 02:14 AM
Isn't that possible to create a filter option ?