Time Worked Issue

Vasu20
Tera Contributor

Hi,

 

Two Queries around the 'Time Worked Fields' 

 

1>The 'Time Worked field' was added onto the incident form, without saving if the screen is refreshed the time worked field gets reset. Is it an expected behavior or something can be changed to avoid it from happening?
2>How can the 'Time Worked Field' be made to run in the background without adding it onto the form?

 

Thanks and Regards,

Vasudev S V

4 REPLIES 4

Tai Vu
Kilo Patron

Hi @Vasu20 

Let's have a look to the servicenow docs below for details how the field works.

Time worked fields

The Task [task] table provides a time-tracking field called Time worked. This field measures how long a record has been viewed in order to measure work time on a ticket.

 
Cheers,
Tai Vu
 
 
 
 
 
 
 

Vasu20
Tera Contributor

Thank you so much, I appreciate it, but this does not solve the query as a whole.

Best Regards,

Vasudev S V

Hi @Vasu20 

 

1>The 'Time Worked field' was added onto the incident form, without saving if the screen is refreshed the time worked field gets reset. Is it an expected behavior or something can be changed to avoid it from happening?

When the task is saved, the amount of new time in the timer is used to generate a record on the Time Worked [task_time_worked] table.

Technically, it's managed through the below business rule.

Name: Task Time Worked

URL: https://<instance_name>.service-now.com/sys_script.do?sys_id=c068b268c61122b700985016ce770871

 

2>How can the 'Time Worked Field' be made to run in the background without adding it onto the form?

The field must be visible on the form layout, to be able to count upwards. This is field type based (Timer).

If you prefer not to display the field to users, you can consider hiding it using a UI Policy.

 

Cheers,

Tai Vu

Dr Atul G- LNG
Tera Patron

Hi @Vasu20 

 

Tested in my PDI:

 

1>The 'Time Worked field' was added onto the incident form, without saving if the screen is refreshed the time worked field gets reset. Is it an expected behavior or something can be changed to avoid it from happening?

Atul: It is expected behaviour. I reload my page and time get reset.


2>How can the 'Time Worked Field' be made to run in the background without adding it onto the form?

Atul: NO, again it is like a UI policy, if on form only work else NO.

AGLearnNGrow_0-1709721312705.png

 

*************************************************************************************************************<br />Regards<br />Dr. Atul G. - Learn N Grow Together<br />ServiceNow Techno - Functional Trainer<br />LinkedIn: https://www.linkedin.com/in/dratulgrover<br />YouTube: https://www.youtube.com/&#64;LearnNGrowTogetherwithAtulG<br /><br />


****************************************************************************************************************
Known Issue in the ServiceNow Community


Currently, there is a limitation when embedding screenshots directly into a Community post or question. Members may not be able to download the image or zoom in sufficiently to view the details.


For better visibility and quicker resolution, you can either:


Attach the image as a file so members can download and view it at full resolution, or
Embed the image using a larger image size. This needs to be done manually when creating the post.


This is a known Community limitation and is worth keeping in mind when sharing screenshots that contain detailed information.