Kiel Sanders
ServiceNow Employee
ServiceNow Employee

The Kingston release of HR Service Delivery introduced a metric that tracks when cases are reassigned and how long the previous assignment group owned the case.  This information is all captured and calculated using the platform's metric definitions functionality.  This specific metric is called "Assignment Group Duration for HR Case" and can be accessed under Metrics > Definitions.

The data collected here can be very valuable for improving operational efficiency within shared services and gaining visibility to how long certain groups are handling cases.  These metrics can be reported on to identify trends but can also be surfaced on the case form for insight into the history of that specific case.  This can be accomplished by creating a new Relationship record (related list) for the case form as detailed below.

  1. Navigate to System Definition > Relationships and create a new Relationship record.
  2. The name for the new record will be the tab name used for the related list.  (ex: Case Reassignment).
  3. Set the Applies to table to HR Case [sn_hr_core_case].
  4. Set the Queries from table to Metric [metric_instance].
  5. Use the code below in the Query with field.
    current.addQuery('definition','da1dabbd0b41030097f5064d37673a54');
    current.addQuery('id',parent.sys_id);​
  6. Save your new relationship record.  The sys_id defined on the first line represents the sys_id of the delivered metric on the [metric_definition] table.  It is not expected that you would need to change this.
    find_real_file.png

  7. Now we need to configure the related list on the case form to display the new relationship.  Navigate to an existing case form.
  8. Select the context menu and choose Configure > Related Lists.
  9. Search for your related list by the name you designated in step #2, add it to the selected slushbucket, and save.
  10. You should now see a new related list on your case form that displays the case reassignments and duration with each group.
  11. (Optional) The columns displayed on the list are likely more than you want for agents to see.  I'd recommend updating the columns to those displayed in the screenshot below.  This can be edited by right clicking any of the column names and choosing Configure > List Layout.
    find_real_file.png
Comments
JayD1
Kilo Guru

Hi Kiel,

This implementation is very impressive.Thanks for sharing.

How can we get the assignment count for existing cases?

How can we calculate the duration of how much time spent by current assignment group?

 

Thank you!

jaspiranti
Tera Contributor

Kiel, This is a great little feature - thank you for sharing!  Question, if I may.  Does something similar exist for the the Assigned To?

Or is there a way to pull in the Assigned To as a displayed column?

Sincerely, 

Miguel Wong
ServiceNow Employee
ServiceNow Employee

Hi @Kiel Sanders, this is very impressive. Would you know if the same assignment group duration metric definition exist for the case table in CSM? If there is a compiled list of these metric definitions, that would be great to share as well

ASHU_1
Tera Contributor

Can we create a report/dashboard out of this, I need to figure out incorrect routings/assignments done. For that, I need to know how many times a case changed assignment groups. I know there is a metric around count, but I need to know the names of the groups as well. 

Version history
Last update:
‎10-05-2018 03:45 PM
Updated by: