Metric Definition

Gaurav69
Tera Contributor

Hii, I have created a custom table named Testing(u_testing) extends task table. now I want to create a Metric definition with type script calculation to calculate the time in which my record was active. can you please help me with the script n all.

2 REPLIES 2

thadrys
Tera Contributor

Hi, what is the definition of "active"? If it refers to the time difference between when something was created and when it was closed, you don't need to create a metric definition. You can obtain this data by running a simple report with a custom calculated field.

Please find the screenshots below. If you still need a metric definition, please let me know.

thadrys_0-1723549729071.png

 

thadrys_2-1723550115213.png

 

 

Mark Manders
Mega Patron

https://www.servicenow.com/community/virtual-agent-forum/metric-definition/td-p/3016817

 


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark