Metric to show HR Case assignment group changes isn't capturing last assignment group duration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2023 08:33 AM
Is there a way to revise the metric to measure duration of last assignment group? We want to be able to see the duration of each assignment group on the HR Case. Please let me know if you have any other recommendations.
Thanks for your help!
Bridgette Weirich
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2023 08:43 AM
You would have to create a new Metric definition to track this. Take a look at OOB metric defn available on incident table and mimic it for hr_case and then you can report on this table to get results. check below, change instance name
Please mark my response as correct and helpful if it helped solved your question.
-Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2023 08:52 AM
Hi @Bridgette Weiri ,
Hope you are doing great.
To implement this solution, you can follow these steps:
- Create a new field, let's call it "Assignment Group Duration," on the HR Case table to store the duration of each assignment group.
- Write a business rule or a script that triggers whenever an assignment group is changed on an HR Case.
- In the business rule or script, calculate the duration between the previous assignment group change and the current assignment group change.
- Update the "Assignment Group Duration" field with the calculated duration value.
- Repeat this process whenever there is a change in the assignment group.
Regards,
Riya Verma