Average SLA Duration for HR Cases - is there an OOB widget or KPI available ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Average SLA Duration for HR Cases - is there an OOB widget or KPI available ?
Use case - Ticket volume is <5M records
Requirement - PA dashboard - Bar chart showing the average SLA duration for closed or resolved HR cases., grouped by available options ( As a user I want to see the average SLA duration for specif HR Service or Assignment group)
Issue - Using legacy hr application not scoped version-performance issue when tried pulling an HR cases= resolved or closed and group them.
Question - Is there any OOB KPI available that can use to get the Average SLA duration ( may need to configure the period for which the data is needed)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @sunilpjohny,
There is no dedicated OOB KPI for 'Average SLA Duration for HR Cases' in the legacy HR application — this is a known gap. The richer PA content (including average resolution time indicators) is available in the Scoped HRSD module (sn_hr_core), but won't directly apply to your legacy hr_case table.
For your use case, the recommended approach is to build a custom PA Indicator on the task_sla table:
• Table: task_sla
• Filter: SLA table = hr_case + Stage = Completed + Case state = Resolved or Closed
• Aggregate: Average of business_duration (or actual_elapsed_time for wall-clock time)
• Breakdown sources: HR Service, Assignment Group
• Score type: Average
This gives you the bar chart with grouping options you need, and because PA collects data on a schedule (not live), it avoids the performance issues you're hitting with direct queries on 5M+ records.
Key fields to use:
- task_sla.business_duration – SLA duration in business hours
- task_sla.actual_elapsed_time – wall-clock duration
- task_sla.sla.table – filter specifically to hr_case
If live reporting is needed as an interim, consider a scheduled report off-hours writing to a summary table, then surfacing that in your PA dashboard widget.
Hope this helps!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi, @sunilpjohny
ServiceNow does provide an indicator called “Average age of closed cases”, but this metric is calculated from opened_at → closed_at and does not respect the SLA schedule or any SLA-specific calendars. In other words, it uses a simple 24×7 time difference, so it cannot be used as an SLA Duration KPI.
For example, using a filter such as:
SLA < 100 AND transfereed to is empty