Existing records not updated after changing number of digits in number maintenanceIssue When the left padding of a system number is updated in a table in Dev, some existing records are not updated to reflect the change. This results in a sorting issue. Release<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } Yokohama Resolution To fix inconsistent numbers, run a background script that pads the existing numbers. The background script runs without any condition, so it updates all existing records. Go to /sys.scripts.do.Verify that the scope is global in the dropdown on that page.Paste the following script and run it. var nm = new NumberManager(); nm.padTableNumbers("incident", 9); FAQs What is the name of the business rule that runs when the field is updated? When Number of digits is modified, the business rule Pad Numbers runs on the following condition: current.maximum_digits.changes() && current.maximum_digits >= 3. The business rule runs only if the value differs from the existing value and the number of digits is 3 or greater. Will this background script have to be run every time the number of digits field is updated? No. Whenever the field is modified, the business rule runs automatically. The background script should be run when Number of digits is modified through an update set. Unlike the business rule, the background script runs without any condition. What field should indicate a change in number of digits in an update set? You should see the sys_number table and the maximum_digits field. For example, the update set contains something like the following: <record_update table="sys_number"><sys_number action="INSERT_OR_UPDATE"><category display_value="" name="change_request">change_request</category><maximum_digits>9</maximum_digits> Should any field regarding the number maintenance records be captured in an update set? The number of digits was captured in an update set, yet when moved to a different instance, it did not update correctly. The change in the update set includes only the Number of digits field change. Internally, this field is called maximum_digits. You should see that change in the update set. However, this change does not update all existing numbers. It affects only the numbers created after the update set is applied.Normally, when a change is made, the business rule Pad Numbers runs and pads all existing numbers as well. Through an update set, this business rule does not run.