Editing maps in Unified Map
Summarize
Summary of Editing maps in Unified Map
The Unified Map editor in ServiceNow allows you to visually manage Configuration Items (CIs) and their relationships within the CMDB. You can add existing CIs to the map, remove (hide) CIs added during the current editing session, and create, modify, or delete CI relationships. Importantly, removing a CI from the map does not delete the CI from the CMDB; it only affects the map view and relationship records.
Show less
Key Features
- Map Editing Permissions: Requires the
sncmdbadminorsncmdbeditorrole. - Editing Controls: Enter edit mode to make changes highlighted by a blue outline. Changes are not saved to the CMDB until you explicitly save.
- Contextual Actions: Right-click or hold on CIs or relationships to access menus for managing attributes, adding CIs, or managing relationships.
- Adding CIs: Only existing CMDB CIs can be added. Added CIs must have a direct or indirect path to the home node to be saved on the map.
- Removing (Hiding) CIs: You can only remove CIs added in the current editing session before saving. Removing a CI hides it on the map and deletes its relationship records, but not the CI record itself.
- Managing Connections: Add, modify, or delete relationships between CIs. Deleting connections removes them from the map and deletes relationship records upon saving.
- Island Branch Handling: CIs disconnected from the home node become "island branches" and are hidden upon saving, but their CMDB records remain intact.
- Undo and Exit: Use the reset icon to undo unsaved changes and exit editor mode to regain access to map timeline and controls.
Limitations
- Cannot edit mapped application services (service instances).
- Cannot delete or add CI records directly to the CMDB via the map editor.
- Cannot add or remove endpoint CIs or delete endpoint/reference connections through the map editor.
- Connections that cannot be edited are shown as dimmed and are view-only.
- Saving a map with orphan CIs (CIs without connection paths to the home node) generates a warning.
Practical Considerations for ServiceNow Customers
Using the Unified Map editor helps you visually manage CI relationships and maintain CMDB integrity by ensuring that changes to relationships are deliberate and saved explicitly. The ability to add or hide CIs on the map supports focused editing sessions, while role-based access enforces governance. Be cautious when deleting connections, as it may create orphan CIs and trigger warnings. This tool does not replace direct CMDB record management but complements it by providing a graphical interface for relationship management.
While you work in the map editor, you can add a CI to the map and remove (hide) a CI from the map. Removing a CI node from a map deletes the records of the CI relationships, but does not delete the CI record from the CMDB. You can also add, modify, and delete CI relationships in the CMDB.
Actions you can take in the map editor
- Select and hold (or right-click) a CI, relationship, or anywhere in the map to open a context menu.
- Select the Attributes icon
to manage CIs and relationships.
- Select the Add CI icon
to add an existing CI and its existing relationships to the map.
- Select a relationship or CI and then select the Manage relationship icon
to add, update, or delete relationships.
- You can remove (hide) a CI from the map only if you added it during the current editing session and have not yet saved the map. You cannot remove a CI that was on the map when you started the editing session. Select Remove for a CI to delete the CMDB records for all relationships to and from the CI. The CI is removed from the map, but the CI record isn’t deleted from the CMDB. For more information, see Delete a connection using the map editor
Working in the map editor
- You must have either the sn_cmdb_admin or sn_cmdb_editor role to use the map editor.
- Before editing a map, prepare it to optimize your experience. Use filters and levels to display the minimum set of CIs to work on. Minimizing the map makes it easier to understand and control the effects of changes that you make.
- To edit a map, select the edit map icon
. A thick blue outline on the map indicates that the map editor is active.
- While you work in the map editor, no changes are made to the CMDB until you select Save.
- During an editing session, related items and associate badges are not shown on the map.
- At any time, select the reset icon
to undo all unsaved changes.
- End an editing session by selecting Exit. You must exit the editor to access the timeline and controls (search, filter, zoom, and so on).
Adding a CI to or removing a CI from the map
- You can view an existing CI on the map to enable you to create, modify, or delete its connections.
- You can add only CIs that have existing records in the CMDB.
- If you try add a CI that already has a connection to another CI on the map, the map re-centers and the CI is highlighted. In some cases, due to filter settings, the CI isn't displayed.
- An added CI appears on the map but its CMDB record isn't changed unless you change its connections and save the changes. After you add a CI, it can be saved to the map only if it has a path (direct or indirect) to the home node.
- You can remove (hide) a CI from the map only if you added it during the current editing session and have not yet saved the map. You cannot remove a CI that was on the map when you started the editing session. When you remove (hide) a CI from the map, the record of the CI in the CMDB is not deleted. In contrast, connection records for a removed CI are affected as described in Deleting a connection.
- When you delete all connections between one CI and another CI so that no connection path remains to the home node, the isolated CI and all of its downstream connections are considered an island branch. When you save, changes that you made to downstream connections are saved and the island branch CI is removed from the map (hidden). The CI record is not, however, removed from the CMDB.
Creating or modifying a connection (relationship or reference) between CIs
Use the map editor to add a connection between two CIs or to modify an existing connection.
To learn more, see CI relationships in the CMDB.
Deleting a connection
Connections that are not editable are dimmed and view-only.
-
When you delete a connection, the connection is removed from the map (hidden). The relationship is deleted from the [cmdb_ci_rel] table only when you save your changes.
- When you delete all connections between one CI and another CI so that no connection path remains to the home node, the isolated CI and all of its downstream connections are considered an island branch. When you save, changes that you made to downstream connections are saved and the island branch CI is removed from the map (hidden). The CI record is not, however, removed from the CMDB.
- When you delete all connections to and from a CI and save the change, the following actions occur:
- The records of all relationships — both upstream to and downstream from — the CI are deleted from the CMDB [cmdb_ci_rel] table.
- The CI is removed from the map (hidden).
- The record of the CI in the CMDB is not deleted.
Limitations
- Editing mapped application services (service instances).
- Deleting a CI record from or adding a CI record to the CMDB.
- Attempting to save a map that includes an orphan CI generates a warning.
- Adding endpoint CIs to or removing endpoint CIs from the map.
- Deleting reference or endpoint connections or removing from the map a CI that has reference or endpoint connections.
- Updating the applicative flow relationship type (connection between endpoint CIs).