You are on page 1of 3

21/05/2021 Support and Troubleshooting - How to make 'Windows OS - Servers' Pattern return Bios Serial number instead of Baseboard

aseboard Serial nu…

KB0749739

How to make 'Windows OS - Servers' Pattern return Bios Serial number instead of
Baseboard Serial number
 14d ago •  1851 Views •  Public

Description

Symptoms
By default, OOB 'Windows OS - Servers' Pattern return Baseboard Serial number, but in some case,
customer might wanted to use the Bios Serial number for the CI instead.

Cause
From the 'Windows OS -Server' pattern, step '5. Insert serial number to cmdb_ci_win_server':

Value=$cmdb_serial_number[1].serial_number [we will get the 1st row (baseboard) in the


cmdb_serial_number table]

Resolution
There are 2 options:

1) Changed the order/swap these 2 steps (3.10 and 3.12) in the pattern 

2) Edit the 'OSs - Pre Sensor' Pattern Pre/Post Script index:

FROM: for(var serialIndex = 0; serialIndex < serialList.length; serialIndex++){


TO: for(var serialIndex = 1; serialIndex < serialList.length; serialIndex++){

https://<instancename>.service-now.com/$sn_pattern_designer.do?
sys_id=670e55a4db702200c06776231f961942&authoring_mode=modify&editor_mode=advanced&section_i

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0749739 1/3
21/05/2021 Support and Troubleshooting - How to make 'Windows OS - Servers' Pattern return Bios Serial number instead of Baseboard Serial nu…

[Note: attached script here]

Additional Information
Serial Number Valid Field:

https://hi.service-now.com/kb_view.do?
sys_kb_id=198e4f97db583b4813b5fb2439961924&sysparm_rank=7&sysparm_tsqueryId=b77a23a7db2dbf08

Copy Permalink

Helpful? Yes No

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?

Terms and conditions

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0749739 2/3
21/05/2021 Support and Troubleshooting - How to make 'Windows OS - Servers' Pattern return Bios Serial number instead of Baseboard Serial nu…

Privacy statement

Knowledge Bases

© 2021 ServiceNow. All rights reserved.

   

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

You might also like