KB0744965 - Support and Troubleshooting - Serial Number Valid Field
KB0744965 - Support and Troubleshooting - Serial Number Valid Field
KB0744965
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:
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.
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
Drop down choice field list not displaying in Agent Workspace on Chrome (version 89.0.4389.72) or Edge browsers
KB0955097
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
Privacy statement
Knowledge Bases
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0744965 3/3