- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-28-2016 12:10 AM
I have a need to capture this information for reporting is there anyone who can suggest a method by which I can do so?
Many thanks
Solved! Go to Solution.
- Labels:
-
Analytics and Reports
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-28-2016 02:58 AM
Hi Angus,
you may need to update your script as below:
(function executeRule(current, previous) {
current.u_first_assigned_to = current.assigned_to;
current.update();
})(current, previous);
If above doesnt work, can you simply check for below: (changing the script to just below 2 lines)
current.u_first_assigned_to = current.assigned_to;
current.update();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-28-2016 01:11 AM
Hi,
There are some metric like Assigned to Duration which help you capture the assignment happening for incident. So whenever an incident is reassigned an entry is made here.
Metric-> Instances
Apply filter for the definition as Assigned to Duration and you would be able to find the entries. Now you can search for incident in the ID field and get the desired result and sort by created to get the first assignment person and the time when it was done.
Regards,
Avinash
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-28-2016 01:45 AM
Thanks for the reply Avinash, however Miriam is closer to what I was looking for.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-18-2020 12:35 PM
Thank you, Avinash. Just what I needed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-28-2016 01:20 AM
Hi Angus,
You could create a field on the incident "first assigned to" where you save the value whenever it is first assigned.
1. First create a new field on the Incident table called "u_first_assigned_to", a Reference to the User table.
2. Then create an After Insert/Update business rule on the Incident table:
- Advanced: true
- Condition:
previous.assigned_to == "" && current.assigned_to != "" && previous.u_first_assigned_to ==""
- Script:
(function executeRule(current, previous) {
current.u_first_assigned_to = current.assigned_to;
current.update();
})(current, previous);
Hope this helps!
Best Regards,
Miriam