Metric instance is not getting created for em_alert table

rubesh_u
Tera Guru

I have created an metric definition for em_alert table like this for state tracking. 

 

Screenshot 2026-05-06 at 1.05.02 PM.png

 

 

Metric instance is not getting created for em_alert table when the state changes

1 ACCEPTED SOLUTION

Tanushree Maiti
Kilo Patron

Hi @rubesh_u 

 

Refer: https://www.servicenow.com/community/platform-analytics-forum/metric-instance-is-not-getting-created...

"Resource table is not extended from Task. Metrics out of the box only work on task and extended tables, but you can use other tables.

Under Metrics application > Business Rules - there is a BR named: metrics events - copy the BR and change table to resource_plan, name can be anything. Then see if Metric gets created."

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

View solution in original post

5 REPLIES 5

Ankur Bawiskar
Tera Patron

@rubesh_u 

for new records if state changes it should work

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

Hi @Ankur Bawiskar 

Even for newly created records it is not working. But this same configuration works on Incident table I tried audit true on table collection eventhough it is not working

@rubesh_u 

is auditing enabled on the table and state field?

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

Tanushree Maiti
Kilo Patron

Hi @rubesh_u 

 

Refer: https://www.servicenow.com/community/platform-analytics-forum/metric-instance-is-not-getting-created...

"Resource table is not extended from Task. Metrics out of the box only work on task and extended tables, but you can use other tables.

Under Metrics application > Business Rules - there is a BR named: metrics events - copy the BR and change table to resource_plan, name can be anything. Then see if Metric gets created."

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin: