- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2023 09:26 PM - edited 03-22-2023 03:11 AM
Experts
Please tell me...
Where do I control the order of choices in a date-type filter?
I want to change the default display order of the yellow boxes in the figure below.
I have made custom choices for a date-type filter for an interactive filter, but I would like to know something new about controlling the order of the items.
Right now they are added at the end of the date filter, which is a bit inconvenient.
▼Related Questions
https://www.servicenow.com/community/developer-forum/i-want-to-add-one-more-process-to-the-business-...
Best regards.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2023 03:30 PM
Hi @M_Tomy, there is a business rule called "Get Date Filter Options for Date Filters." Navigate to the advanced tab of that business rule and manually reorder the "answer.add" lines in there so that the order matches your requirements. This should now order the items the way you want.
p.s., when you're editing the interactive filter, they may not show up in order there but when you use the interactive filter on a dashboard, it should order them correctly there. I hope this help you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2023 03:30 PM
Hi @M_Tomy, there is a business rule called "Get Date Filter Options for Date Filters." Navigate to the advanced tab of that business rule and manually reorder the "answer.add" lines in there so that the order matches your requirements. This should now order the items the way you want.
p.s., when you're editing the interactive filter, they may not show up in order there but when you use the interactive filter on a dashboard, it should order them correctly there. I hope this help you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2023 08:36 PM
Dear Todd O.
I have been out of the ServiceNow business for a while and am late in responding.
I have resolved the issue, thank you.
Best regards.