How to create a UI action for time calculation on case form

mania
Tera Contributor

Hi,

 

Need a button on case form called as Start time which will calculate the time being worked on case form. As an agent assigned to person should have a button called as start time and when the case is closed it will should automatically calculate the duration and add it in time worked tab.

Can you please let me know is there any way to do this if yes provide me. It will be helpful.

 

mania_0-1706261899899.png

mania_2-1706262061401.png

 

Thanks in Advance!

2 REPLIES 2

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @mania 

 

What is need to create a new UI action.  You can use SLA to get this time, like when assigned TO agent and when closed. I am sure if you see case table , you will get this information easily and OOTB way.

 

What is your business case. 

*************************************************************************************************************
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]

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

@Dr Atul G- LNG 

 

My requirement is As an agent he should see a Stat time and End time buttons on top when he click on starts Stat time button the record  time calculated whenever he off the case or click on the End time that time automatically calculate the duration and add that into  the time work tab below.

Can you please suggest is there any way to do this. It will be helpful.

 

mania_0-1706507151090.png

Thanks!

Mania