Metric instances not created for existing records<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } Issue After creating a metric definition, metric instances are not created for records that already exist in the system. There is no built-in way or mechanism to generate metric instances for pre-existing records. Cause Metric instances are created only when a record in the Task table hierarchy (for example, incident) is inserted or updated. At that point, a business rule running with After engines triggers a "metrics events" event. That event is processed by the Metric Update Script Action, which uses the MetricInstance Script Include. If a relevant metric_definition is found, the corresponding metric_instance records are created. Because existing records are not inserted or updated when a new metric definition is added, no trigger fires and no metric_instance records are created for them. Resolution There is no built-in way or mechanism to create metric_instance records for records that already existed before the metric_definition was created. To generate metric_instance records for existing records, a manual update to each record must be triggered so that the business rule fires. Related Links Metric instance