Add a new filter option for Date Fields

smrithi
Tera Contributor

Hello All,

is it possible to add new filter option for Date Fields ?
I would like to have an option as "Last 10 Days and Last 14 days"

smrithi_0-1716284227749.png

If anyone knows a way of adding a new option in the filter, let me know as this would be more user friendly for users

4 REPLIES 4

Dr Atul G- LNG
Tera Patron
Tera Patron

Practically no, as these are some where in core code. 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

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/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Community Alums
Not applicable

Hi @smrithi ,

There is one BR which contains all the date filter name - "Get Date Filter Options for Date Filters" you can check this BR and add 2 options last 10 days and last 14 days.

SarthakKashyap_0-1716285435705.png

 

Please mark my answer correct and helpful if this works for you

Thanks and Regards 

Sarthak

smrithi
Tera Contributor

I tried the same but it is not showing the option in filter for any date fields . 

Could you plz let me know how to acheive it .

James Chun
Kilo Patron

Hi @smrithi,

 

I don't believe this is possible and Get Date Filter Options for Date Filters is applied in the Interactive Filters.

https://www.servicenow.com/community/developer-forum/add-option-to-date-filter/m-p/1937605/page/2

 

The only workaround I can think of is to create a filter and share it with the users - https://docs.servicenow.com/bundle/washingtondc-platform-user-interface/page/use/using-lists/task/t_...

 

Cheers