incident aging report for 15-60, 60-120 and 120+ days
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
HI Team,
i used below filter for 15-60, 60-120 and 120+ days
active=true^state!=6^sys_created_onRELATIVELT@dayofweek@ago@14
with above filter count is 6589
and for 15-60
active=true^sys_created_onRELATIVELT@dayofweek@ago@14^state!=6^sys_created_onRELATIVEGT@dayofweek@ago@60
with above filter count is A
active=true^sys_created_onRELATIVELT@dayofweek@ago@59^state!=6^sys_created_onRELATIVEGT@dayofweek@ago@120
with above filter count is B
active=true^sys_created_onRELATIVELT@dayofweek@ago@119^state!=6
with above filter count is C
so A+B+C = 6956 which is not equal to 6589
so i need filter which shows equal count as like total count of individual report
or Please provide me conditions which get data for incidents which are created 15/60/90 days ago
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
seems it's getting overlapped.
Try to use BETWEEN operator
-> 15-60 Days Ago:
active=true^state!=6^sys_created_onBETWEENjavascript:gs.daysAgoStart(60)@javascript:gs.daysAgoEnd(15)
-> 60-120 Days Ago:
active=true^state!=6^sys_created_onBETWEENjavascript:gs.daysAgoStart(120)@javascript:gs.daysAgoEnd(60)
-> 120+ Days Ago:
active=true^state!=6^sys_created_onONORBEFOREjavascript:gs.daysAgoStart(120)
-> All Active (15+ days):
active=true^state!=6^sys_created_onONORBEFOREjavascript:gs.daysAgoEnd(15)
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
38m ago
Hi @Ankur Bawiskar
Thanks for your response
but i need different filter conditions 15-60, 60-120 and 120+ days for which "between" operator is not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
Hi @vamshi2
Relative operations may not produce exact results. It's better to use a more precise operation to ensure the output matches the expected result.
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]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
38m ago
Hi @Dr Atul G- LNG
Thanks for your quick response
but i need different filter conditions 15-60, 60-120 and 120+ days for which "between" operator is not working