Two records from different tables with the same name is causing ambiguityIssue <!-- div.margin{ padding: 10px 40px 40px 30px; } table.tocTable{ border: 1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); padding-top: .6em; padding-bottom: .6em; padding-left: .9em; padding-right: .6em; } table.noteTable{ border:1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); width: 100%; border-spacing:2; } table.internaltable { white-space:nowrap; text-align:left; border-width: 1px; border-collapse: collapse; font-size:14px; width: 85%; } table.internaltable th { border-width: 1px; padding: 5px; border-style: solid; border-color: rgb(245, 245, 245); background-color: rgb(245, 245, 245); } table.internaltable td { border-width: 1px; padding: 5px; border-style: solid; border-color: #E0E0E0; color: #000000; } .title { color: #D1232B; font-weight:normal; font-size:28px; } h1{ color: #D1232B; font-weight:normal; font-size:21px; margin-bottom:-5px } h2{ color: #646464; font-weight:bold; font-size:18px; } h3{ color: #000000; font-weight:BOLD; font-size:16px; text-decoration:underline; } h4{ color: #646464; font-weight:BOLD; font-size:15px; text-decoration:; } h5{ color: #000000; font-weight:BOLD; font-size:13px; text-decoration:; } h6{ color: #000000; font-weight:BOLD; font-size:14px; text-decoration:; } ul{ list-style: disc outside none; margin-left: 0; } li { padding-left: 1em; } --> Two records from different tables with the same name is causing ambiguity ReleaseAll available releasesCauseThe number maintenance in the instance could be different from OOB ones. In out of the box instances, no two table would share the same prefix. Say prefix for the table task is TASK, SCTASK for catalog tasks, CHAT for chat queue entries etc. It might have been modified in the instance. Since these records are auto numbered this is expected. The user can verify the same by navigating to the following link and checking the prefixes for the tables. https://<instance-name>.service-now.com/sys_number_list.doResolutionIn order to resolve the issue, the user need to have unique prefixes set for the affected tables. They can set the out of the box prefixes to avoid other ambiguities. To change the same, the user will need to edit the prefix values for the corresponding tables by going to the sys_number table. In order to change the prefix of the existing records, one can make use of the following code in the background script. For example, to change sc_task records' prefix from TASK to SCTASK, the following script can be used. ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ //Query for the table records var rec = new GlideRecord('sc_task'); rec.addEncodedQuery('numberSTARTSWITHTASK'); // Add this line so if you run this script again you will not affect already converted records. rec.query(); while(rec.next()){ //Change the number prefix from 'TASK' to 'SCTASK' rec.number = rec.number.replace('TASK', 'SCTASK'); rec.setWorkflow(false); //Do not run business rules rec.autoSysFields(false); //Do not update system fields rec.update(); } ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ If you have a large amount of records to be adjusted you can run this in small batches, utilising the the setLimit function. Add this before rec.query(); rec.setLimit(10000); This will then only update 10000 records, then if after completed you run again it will go another 10000. You can adjust this number to whatever works for you.Related LinksDo not run the script on the production environment first. Ensure testing is first carried out on a developer instance. Only after verifying this is working as expected should you proceed to execute this in production. If you have any worries please raise a case with Support and they will happily answer any questions or queries you may have.