how to add metric capability for assignment group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2023 05:20 AM
how to add metric capability for assignment group and Add this to related list on incident form?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2023 05:24 AM
Hi @Deepa Dhandapan ,
Create a metric definition for a task table.
Before you begin
Procedure
- Navigate to All > Metrics > Definitions.
Important: Do not confuse these metric definitions with the metric definitions for the Assessments feature. The Assessments feature is concerned with questionnaires. It is not related to the Metrics feature.
- Click New.
- Complete the Metric definition form then click Submit.
New metric definitions Field Description Number The system generates a unique record number for the metric definition. Name Enter a unique name to describe what metrics are collected. Table Select the table that you want to collect metrics for. A metric can only apply to one table.
Note: The list shows only tables and database views that are in the same scope as the metric definitionField Select the table column you want to monitor for changes. Metrics only work on audited fields. Creating a metric for non-audited field produces unreliable metrics. Note: Fields starting with 'sys_' will not work for a metric definition, with the exception of 'sys_domain'.Type Select what values this metric generates. - Field value duration: This type of metric measures the duration of time from when the value of the specified field is set until it is changed. A Field value duration metric can optionally specify a script. The script can either return a duration value or set the answer variable to false to stop processing the metric. For example, the baseline incident metrics stop calculating duration when the Active field of an incident is set to false. The script can also carry out any other action such as closing the duration of other metrics defined on the same record. For more information, see Sample field value duration script.
- Script calculation: This type of metric creates a metric instance using a script. The script has access to the current row in the table (for example an incident) and the metric definition. The script must perform metric calculations and insert data into the metric_instance table. The calculation does not have to result in a duration. It can calculate any type of value and store it in the metric instance value.
Timeline pages Check this box to display the metric on a . Active Check this box to monitor changes for this metric. Description Specify what data the metric monitors and its conditions. A good description helps other metrics administrators understand the purpose of your metric. Script Enter the script you want the metric to run to either calculate a duration or perform some calculation on the metric_instance table. 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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2023 05:35 AM
Hi @Deepa Dhandapan ,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2023 05:37 AM
Hi Sandeep, thanks for reply..
i have created assignment group metrics as per your advise. pls assist me - how to add this assignment group metrics into Incident Form related List.(bottom of incident form).