Capture the first person an incident was assigned to

amacqueen
Mega Guru

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

1 ACCEPTED SOLUTION

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();


View solution in original post

11 REPLIES 11

Oops!


Updated my reply above.


DTodorov
Tera Contributor

Hi All,

I am not very aware of how these scripts are working...

Is there a way to run such report and find the first Assigned to engineer?

Thanks in advance.