Is there a way to add time worked?

Andrew Meza
Tera Expert

Is there a way to track time worked in a request?

 

Example:

If RITM A has Task 1, Task 2, and Task3.

Can Input:

Task 1 = 2 hours

task 2 = 4 hours

task 3 = 2

 

It then adds all the time and the RITM will reflect the sum of 8 hours is the total time worked?

3 REPLIES 3

wmcgrath
Tera Expert

Hi @Andrew Meza 

This depends on how you are tracking the time worked and the nature of the child tasks.

If the child tasks are completed sequentially (i.e. not all at the same time), and you don't want to wait for an assignee to enter the time manually, you could use an SLA timer on the Requested Items and a business rule on the catalogue tasks to enter in the pauses / resumes on the SLA. For example:

- On sc_task state changes to a closed state, change the state of the RITM to Pending - this can pause the SLA timer.

- On sc_task creation, change the state of the RITM to In Progress - this should resume the SLA timer.

- The SLA timer should stop when the RITM is changed to a closed state (cancelled, incomplete or complete)

 

When you have concurrent sc_tasks in use, you may want to use metrics instead, defining a metric definition for the catalog task, then using a metric definition on the requested item level to collect the time from each catalog task metric once the requested item is in a closed state.

More information: https://docs.servicenow.com/en-US/bundle/utah-platform-administration/page/administer/time/reference...

Upsilon
Giga Guru

Hi, 

If you just need to display the total you can configure the list calculation like in the following example:

Upsilon_0-1681221203774.png

 I hope it's helpful

 

REgards

 

 

I hope it's helpful.

 

Regards,

 

Community Alums
Not applicable

Hi, how to you find the Time worked(calculations)?