How do we delete entry points created for Service Mapping?

Sankrupa
Mega Expert

Hi,

 

I am trying to delete the entry points created in cmdb_ci_endpoint table. We are trying to move our service mapping data to other instance, In that process, we know that entry points are not captured in update sets. So, we tried to export xml and import them. It did import the entry points, but when we view the map it shows an error as " System error has occured, exception is: CmdbRuntimeException: Can't find ServiceLayer '78d96ffc6f3a070069c709c54b3ee474' ". So, when are trying to delete the imported entry points and create a new ones. It is not the deleting the records from the cmdb_ci_endpoint table.

Thanks in Advance.

 

Regards

Sankrupa,

 

5 REPLIES 5

robertgeen
Tera Guru

Hello,

So moving service maps from one instance to another isn't the easiest thing to do however support has created a script that can help package everything up. What you are running into is that you have to resync your business services after they are moved but if you don't have all the parts it will fail. I'll ask my work colleague tomorrow for the HI article that explains how to do it. Thanks.

Chatarina Lyth
ServiceNow Employee
ServiceNow Employee

Hi Sankrupa!

 

I suggest that you import the Entry points by using the 'import CSV' functionality in the 'Service Map Planner'. That way you don't have to enter them one by one.

Here you can find an example of how the CSV file should look like:

https://docs.servicenow.com/bundle/jakarta-it-operations-management/page/product/service-mapping/task/import-business-services-csv.html

 

You will however need to go into each service afterwards and Press 'Discover Now', but that is the easiest way to import several EP at the same time.

 

BR
Chatarina 

Antal1
Tera Contributor

I had the same issue just some days earlier. It is caused by the field layer on the business service. It is a reference which will not be valid if you move your business service from one instance to the other with XML.

To fix:

1. Go to the svc_layer table

2. Find the record with Identifier for the Kind = Impact and Service Container = your BS name

3. Copy sys_id of this record.

4. Update your business service, set the layer field to this sys_id.

Here is the Knowledge Article I referenced. This going forward is probably going to be the go to way to move service maps from 1 instance to another.

 

https://hi.service-now.com/kb_view.do?sysparm_article=KB0622391

 

Great information.