How to add an existing business service to Service Mapping
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2018 01:04 AM
Hi,
We have recently enabled Service Mapping on one of our Istanbul instances and we need to map some Business Services. The problem that we are facing is that we already have CIs for those services in the cmdb_ci_service table and those are being used by Incident Management. We are looking for a way to make those records visible in Service Mapping as well, so that we could start mapping them. Is that even possible?
During my research on this I found out the following flow is in place:
1. Creating a Business Service in Service Mapping populates the cmdb_ci_service_discovered table.
2. This new record triggers a business rule: "Sync with Service Modeling". It uses a server-side java class (SNC.ServiceModelingIntegrationManager()) which seems to populate the cmdb_ci_service_auto and cmdb_ci_service tables with the same record (the sys_id is the same).
What we are trying to achieve is the reverse of this flow. Our Business Services exist in cmdb_ci_service and we need to have them visible in Service Mapping (cmdb_ci_service_discovered). I tried to use a script to manually create a record in cmdb_ci_service_discovered with the same attribute values and sys_id as one of the existing ones from cmdb_ci_service (after disabling the "Check service name uniqueness" business rule). Needless to say this didn't work - we can't set up sys_id values ourselves when creating a new record. The record was created, but the sys_id was a new one.
Any information on this matter is highly appreciated.
Thanks,
Alex
- Labels:
-
Service Mapping
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2023 12:37 PM
Hi Alexander,
Were you able to find a way to do this?
Thanks,
Lucia