Key questions about this property
The answers below summarize the purpose, scope, default effect, and review scenarios for this property.
| What does it do? |
Sets how many metric datasets a chart can display in alert metrics; insert and update validation also rejects records that exceed the configured source-metric limit. |
| What area does it affect? |
Alert metrics charts |
| What does the default mean? |
The default value is "DEFAULT_NUM_OF_CHARTS_PER_WIDGET". |
| When should you review it? |
When changing how many datasets charts display or adjusting the source-metric limit for widget records. |
Property record
No out of the box record exists. ServiceNow scripts read this property and use the default value shown until you create it.
| Property name |
ws_metric.datasets_per_widget_limit |
| Type |
Not stated |
| Application |
Not stated |
| Default value |
DEFAULT_NUM_OF_CHARTS_PER_WIDGET |
| Description |
Not stated |
Sources
Official references and nearby text excerpts where this property appears.
Context preview
Snippet 1
... customize the metrics display, configure the following properties on the System Properties > All Properties page: ◦ws_metric.widgets_number_limit: Specify the number of widgets/records that can be displayed on the metrics tab. ◦ws_metric.datasets_per_widget_limit: Specify the number of charts/datasets that can be displayed on a chart. Field name Description Time range relevant to alert Duration for calculating metrics around the alert. Start time Start ...
Used in
Out of the box artefacts that read this property. Append the path to your instance URL to open the record and see how the value is used.
Business rule: Unique records across fields on insert
The validation reads this property to set the maximum number of source metric types allowed in a record; exceeding the limit displays an error and blocks the insert. If the property is unset, it uses the supplied default value, though that value is not shown in the code provided.
/sys_script.do?sys_id=20593c4813917740e7be3192e144b0bc
Business rule: Unique records across fields on update
During update validation, the property sets the maximum number of source metric types a widget can have; exceeding it blocks the save and shows the limit to the user. If the property is unset, the code uses a supplied default, but its value is not shown here.
/sys_script.do?sys_id=f329bcc413917740e7be3192e144b09c
More in Other namespaces
Other properties in the same namespace.
All 401 properties in Other namespaces →