Time Worked

Amrit4
Tera Guru

Hi Experts,

 

We have a field named "Time Worked" on incidents. We have a requirement to pause this timer for other states except 'In progress'. The timer should only run when state of the incident is 'In progress'.

If possible please give a composed solution.

 

Warm Regards.

3 REPLIES 3

Ankur Bawiskar
Tera Patron

@Amrit4 

see this link and enhance it for your state field

Pause or Toggle a Time Worked Field Timer 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

I saw this post previously, but this is not working. not sure why

@Amrit4 

it requires DOM manipulation and you need to set Isolate Script Field for your client script as False

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader