- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2024 05:17 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2024 06:36 AM
I got the result by below script.
//Client callable script include
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2024 05:45 AM - edited 07-09-2024 05:50 AM
Hi @aish1234 ,
Please find the attached Sample report.
Also refer to this article:
https://www.servicenow.com/community/knowledge-blog/excluding-weekends-from-reports-when-you-re-repo...
If my answer helped in any way, please mark it as ✅Correct & 👍Helpful
Thanks,
Mahathi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2024 06:05 AM
Thanks for your reply, but we need KPI which shows backlog incidents created 30 days ago. 30 days should be excluding holidays and weekends.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2024 05:58 AM
Always nice, just a title and nothing explaining the why or showing what already has been tried and what not.
But you can get them through this: https://your_instance.service-now.com/task_sla_list.do?sysparm_query=business_duration%3Ejavascript%3Ags.getDurationDate('10%200%3A0%3A0')%5Etask.sys_class_name%3Dincident&sysparm_view=
Assuming your SLA's are running on all incidents, you can use the 'business elapsed time' field to check on the holidays and such (since that's what the business elapsed time is for). If you put that at your 30 days calculation (the URL will show you 240 hours (30 days times 8 hours), which is 10 days on the duration field.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2024 06:07 AM
Thanks for your reply.
But all incidents don't have SLA attached. So we need to do it with the script.