Can we write metric definition for custom table

lakshmir
Giga Contributor

Hi,

I need to write metric for a custom table which is also stand alone.

But somehow it doesnt seem to work.

Regards,
lakshmi

1 ACCEPTED SOLUTION

Chuck Tomasi
Tera Patron

Hi Lakshmi,



The wiki page says



Note: In the base system, metrics are configured to work on the task table only. To apply metrics to cmdb_ci tables, duplicate the metric events business rule that currently runs on the task table for the cmdb_ci table. Without the events created, no metric processing can occur.



My guess is, if you can make it work for cmdb_ci, then you can copy that same business rule to run on your table as well.



Metric Definition Support - ServiceNow Wiki


View solution in original post

5 REPLIES 5

Chuck Tomasi
Tera Patron

Hi Lakshmi,



The wiki page says



Note: In the base system, metrics are configured to work on the task table only. To apply metrics to cmdb_ci tables, duplicate the metric events business rule that currently runs on the task table for the cmdb_ci table. Without the events created, no metric processing can occur.



My guess is, if you can make it work for cmdb_ci, then you can copy that same business rule to run on your table as well.



Metric Definition Support - ServiceNow Wiki


Thank you it worked


I'm glad you got your question answered. Thank you for participating in the community. Please mark my response as correct so that others with the same question in the future can find it quickly and that it gets removed from the Unanswered list.


If you are viewing this discussion from your "inbox", use the "mark as correct" option under actions. If you are viewing it directly from the thread use the Correct Answer link (red with a star).


Thank you


I read this before, forgot it, found it again and it saved me again. Appreciate you @Chuck Tomasi!