The CreatorCon Call for Content is officially open! Get started here.

MetricInstance

wpatrickhames
Tera Guru

Can anyone point me to the MetricInstance object reference, that shows all of the properties, methods?   I'm struggling a bit and cannot find much on it, although I see that people are using it.

Thanks!

1 ACCEPTED SOLUTION

Chuck Tomasi
Tera Patron

You can find it under System Definition> Script Includes. It's a script include called MetricInstance.



Replace YOURINSTANCE with your instance name in the URL below.



https://YOURINSTANCE.service-now.com/nav_to.do?uri=sys_script_include.do?sys_id=44c7c3a40a25810200e0...


View solution in original post

2 REPLIES 2

Chuck Tomasi
Tera Patron

You can find it under System Definition> Script Includes. It's a script include called MetricInstance.



Replace YOURINSTANCE with your instance name in the URL below.



https://YOURINSTANCE.service-now.com/nav_to.do?uri=sys_script_include.do?sys_id=44c7c3a40a25810200e0...


Thank you, Chuck!   That helped out a great deal.   I cannot figure out how the metricExists method is useful, but other than that, it steered me in the right direction for sure.