Metrics with script calculation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-12-2016 08:54 AM
Hi all,
I'm trying to create metrics to calculate 'Time between ticket creation and ticket closure' for a particular assignment group.
I've written the following code so far but the script doesn't work at all whatever the condition is.
From Subject Received Size Categories Andy Parimi FW: ServiceNow Metric Data 8:40 AM 40 KB

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-25-2018 02:25 PM
you may want to copy an existing BR for metrics and set it on your table
https://docs.servicenow.com/bundle/istanbul-performance-analytics-and-reporting/page/use/reporting/task/t_CreateAMetricDefinition.html
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.