want to be that engineer name should be reflected in activities filed and with timings

Jyoti Malhotra
Tera Contributor

Hi Team,

When we assign ticket to any engineer, i want to be that engineer name should be reflected in activities filed and with timings, like since how many hours this ticket assigned to that Engineer.

Please help me with this query.

Thanks!

 

JyotiMalhotra_0-1723799893760.png

 

1 ACCEPTED SOLUTION

Hi @Jyoti Malhotra 

 

you can do like this

 

AGLearnNGrow_0-1723880714456.png

 

move handled by to right side

AGLearnNGrow_1-1723880747559.png

 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

View solution in original post

18 REPLIES 18

Hi Atul,

 

I created one more field that is Ticket Handled BY below the assigned to filed. I'm giving User name User ITIL and with comments. when clicking on save the form after that i want to be User ITIL name should reflect in Activities logs.

JyotiMalhotra_0-1723811148167.png

 

Hi @Jyoti Malhotra 

 

You need to understand the fundamentals here, if you update anything on the form, the system will take your name only in the activity log. What you have required means, updates done by you but the name should appear of another user.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Hi Atul,

 

I want to be Updated By field name should get change as per name give in Ticket Handled BY field.

JyotiMalhotra_0-1723814465560.png

 

JyotiMalhotra_1-1723814489657.png

 

 

I'm trying this by creating After Business Rule via below script.

 

(function executeRule(current, previous /*null when async*/) {

current.sys_updated_by = current.u_ticket_handled_by;
current.update();
})(current, previous);

Hi @Jyoti Malhotra 

 

The user who will update the record his/her id will come in updated by i.e. OOTB. Not sure why you want handled by name in that, it will come only when the handled by user will update the record. 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Hi Atul,

 

Yes l, whatever the update by field captured when update happens in incident form, that field value is coming in activities profile.

So am trying to update  the update by field.

 

Regards,

Jyoti Malhotra