You are on page 1of 3

21/05/2021 Support and Troubleshooting - Serial Number Valid Field

KB0744965

Serial Number Valid Field


 14d ago •  850 Views •  Public

Description

Symptoms
Serial number's valid field set to false a er discovery.

Release
All currently supported releases.

Cause
The default value for cmdb_serial_number.valid is "false". Discovery, or any other source creating
such CIs, must set valid = true before creating/updating a serial number. Discovery calls
SncSerialNumber() with a list of serial numbers to determine if the serial numbers are valid or not.

SncSerialNumber sets the serial numbers to active. Then iterates through a set of condition to
determine if this serial number should be set to invalid. The condition to determine if a serial number
is "valid = false" are:

1. Serial number is empty.


2. Serial number is composed of the same repeating character.
3. Serial number meets any of the conditions listed under dscy_invalid_serial.

Resolution
If discovered/created via a OOB probe/sensor or pattern the SncSerialNumber should be called and
properly set the serial number valid field accordingly.

If discovered/created via a probe/sensor, pattern, or any other sources which are not OOB the
SncSerialNumber may not be called to set the field valid to true. The field value will be set to false,
since the default value for this field is false. The resolution will depend on how the CI is being created.

Discovery Probe/Sensor:

1. Ensure the sensor properly calls SncSerialNumber to set the valid field to true for each serial
number. Review OOB "Windows - Hardware Information" sensor for an example.

Discovery Pattern:

1. Patterns set the valid field to true via "Pre Post Processing" scripts. Review "Windows OS - 
Pre Sensor" for an example. Validate serial number via a pre post script, "Pattern Designer >
Pre Post Processing" (sa_pattern_prepost_script). 
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0744965 1/3
21/05/2021 Support and Troubleshooting - Serial Number Valid Field

Other:

1. Use SncSerialNumber to validate serial numbers before inserting into the CMDB.

SncSerialNumber being called appropriately or OOB discovery:

1. Check if the serial number meets one of the conditions found on table dscy_invalid_serial. If
so, the serial number will be considered invalid (valid = false).

Additional Information
Serial number types for identification

Copy Permalink

Helpful? Yes No

Attachments

No attachments found

Most Useful

Role Mapping to Role Type, Application & Suite


KB0714234

Instance backup and recovery


KB0547654

Drop down choice field list not displaying in Agent Workspace on Chrome (version 89.0.4389.72) or Edge browsers
KB0955097

ServiceNow Holiday Change Freezes | Change Management 2020


KB0598697

Case Management Transition on HI - FAQ


KB0744352


How would you rate your Now Support digital experience?

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0744965 2/3
21/05/2021 Support and Troubleshooting - Serial Number Valid Field

Terms and conditions

Privacy statement

Knowledge Bases

© 2021 ServiceNow. All rights reserved.

   

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0744965 3/3

You might also like