How to make 'Windows OS - Servers' Pattern return Bios Serial number instead of Baseboard Serial numberIssue <!-- div.margin { padding: 10px 40px 40px 30px; } table.tocTable { border: 1px solid; border-color: #e0e0e0; background-color: #fff; } .title { color: #d1232b; font-weight: normal; font-size: 28px; } h1 { color: #d1232b; font-weight: normal; font-size: 21px; margin-bottom: 5px; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: #cccccc; } h2 { color: #646464; font-weight: bold; font-size: 18px; } h3 { color: #000000; font-weight: bold; font-size: 16px; } h4 { color: #666666; font-weight: bold; font-size: 15px; } h5 { color: #000000; font-weight: bold; font-size: 13px; } h6 { color: #000000; font-weight: bold; font-size:14px; } ul, ol { margin-left: 0; list-style-position: outside; } --> 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§ion_item_type=identification§ion_item_name=discovery [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=b77a23a7db2dbf084819fb24399619ba