Key questions about this property
The answers below summarize the purpose, scope, default effect, and review scenarios for this property.
| What does it do? |
When enabled, uses optimized updates for Discovery's started and completed counts, bypassing business rules on discovery_status except for specific count-change conditions. |
| What area does it affect? |
Discovery status tracking |
| What does the default mean? |
The default value is "true", which means this behavior is enabled by default. |
| When should you review it? |
Review when changing Discovery status-count update behavior or troubleshooting business rules tied to discovery_status. |
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 |
glide.discovery.count.use_optimized_counter |
| Type |
boolean |
| Application |
Not stated |
| Default value |
true |
| Description |
Not stated |
Sources
Official references and nearby text excerpts where this property appears.
Context preview
Snippet 1
... Type: true | false • Default value: true glide.discovery.certs.slack_channel_id Certificate Inventory and Management: Indicates the Slack channel ID where certificate notifications are sent. • Type: string • Default value: empty glide.discovery.count.use_optimized_counter Executes optimized code for updating discovery_status.started and discovery_status.completed counts. If set to true, business rules on discovery_status won't execute when "started" or "completed" is changed. There are two exceptions: 1. ...
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.
Script include: DiscoveryStatus
The setting controls whether starting a discovery triggers the status update that changes its state from Starting to Active; false skips that update. If no value is set, it defaults to true.
/sys_script_include.do?sys_id=0923b5ee0ab30150007c408f74342949
More in glide.discovery
Other properties in the same namespace.
All 168 properties in glide.discovery →