- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2026 12:43 AM
I have created an metric definition for em_alert table like this for state tracking.
Metric instance is not getting created for em_alert table when the state changes
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2026 02:12 AM
Hi @rubesh_u
"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."
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2026 04:52 AM - edited 05-06-2026 04:53 AM
Ahoy @rubesh_u,
i am not that knowledgeable about em_alert and these metrics you shared, but just an idea.. the related list "Metrics" below is empty, shouldn't there be something maybe? I don't know, it's just an idea from other ServiceNow configurations.
There's a script field so you can add there some logs to see if it is even triggered upon the state change...
EDIT: is there any similar definition that works? you can get inspiration from it and adjust accordingly
A community that tolerates cheaters and ignores collusion isn't a community . RIP