Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

CIs are renamed in cmdb_ci_service_technical

TamásU
Tera Contributor

It seems that when on a RITM (Request Item) CI is changed in the Service (business_service) field the CI gets renamed.

The Following 2 comments are added to the CI:

Requested Item RITM123456 'Service' field added and
that the CI was renamed where the old name is <name of the previous CI in the Service Field on the RITM>
the new name is the <current CI name that was just added to the Service Field on the RITM>

It only happens on RITM. I have checked flows, BRs but nothing found yet.
 
Any idea?
2 REPLIES 2

vaishali231
Kilo Sage

hey @TamásU 

Check the Business Rules on cmdb_ci and sc_req_item,

 Search for scripts referencing business_service, cmdb_ci, or updating the CI name.

Also, reproduce the issue with Debug Business Rule enabled. That should help identify what is actually changing the CI name.

The comments being added to the CI are a good clue that some server-side logic is intentionally syncing the RITM's Service (business_service) with the CI. also check the CI's History/Audit to see which transaction changed the name field.

 

*************************************************************************************************************************************

If this response helps, please mark it as Accept as Solution and Helpful.

Doing so helps others in the community and encourages me to keep contributing.

Regards

Vaishali Singh
Linkedin - https://www.linkedin.com/in/vaishali-singh-2273361bb




Tam_s Ujj1
Tera Contributor

Thank you for the response. I have checked the business rules, on both classes, also search for script reference but did not find anything. Unfortunately I cannot reporoduce the issue, so debug is not an option.