Find the duration in which the field had stored a value

nrupan krishnan
Tera Contributor

Hi All,

I have a requirement to find the duration in which how long the state field had been assigned to "In progress". 
Saw some articles suggesting to go with metric definition. Can anyone please explain in detail on how to write the script in metric definition and how to fetch that duration value from script include?

 

3 REPLIES 3

Kristy Merriam
Administrator
Administrator

Have you checked out the Metric Definitions that come OOTB? It's possible you don't need a script and could copy an existing definition that comes OOTB like this one: 

 

KristyMerriam_0-1736176276891.png

 

 

How can I fetch this duration from a script include or business rule?

How can I fetch the duration field in a script include from the metric definition?