Tag-based discovery for the Service Mapping Workspace

  • Release version: Yokohama
  • Updated July 8, 2025
  • 2 minutes to read
  • Summarize
    Summarized using AI
    This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.

    Summary of Tag-based discovery for the Service Mapping Workspace

    ServiceNow’s Service Mapping Workspace supports tag-based discovery to help organizations that use tags for asset management. Tags, which are key-value pairs, categorize and organize assets, improving query and reporting capabilities. This method enables the creation and management of tag-based application services without the need for credential configuration or elevated user rights. It is particularly useful for managing resources across virtualized, hyper-converged, and multi-cloud environments by leveraging automated tag detection from Discovery and Cloud Provisioning and Governance.

    Show full answer Show less

    Key Features

    • Tag discovery and storage: Tags from cloud and resource configuration items (CIs) are discovered and stored in the Key Value [cmdbkeyvalue] table.
    • Tag categories and keys: Administrators create CI tag categories grouping similar tags (e.g., "production" and "staging") and define tag keys within these categories. Starting with version 1.7.0, five predefined categories are available for immediate use.
    • Selective mapping: Administrators select tag categories and optionally narrow down by specific tag values to filter CIs used in application services.
    • Service candidate creation: Service Mapping queries the CMDB for matching CIs and generates service candidates based on tag definitions.
    • Mapping and monitoring: Administrators select service candidates to map, initiate the mapping process, assign a service family name, and save progress for ongoing management.
    • Dynamic service content: Tag-based service content is calculated on demand to ensure up-to-date mappings when viewed or refreshed.
    • Relationship-based mapping: Application services are mapped by connecting tagged CIs based on CI relationships, with traversal and exclusion rules managing inclusion of related CIs.

    Important Considerations

    • Service Mapping Plus version 1.16.3 or later is required to access tag-based service mapping.
    • Tag-based application services are stored in the Tag-Based Application Service [cmdbciservicebytags] table.
    • CIs lacking the appropriate tags might be excluded from service instances mapped by tags.
    • Related CIs connected through relationships are included even if they do not have tags, supporting comprehensive service maps.

    Why This Matters

    This capability simplifies service mapping by leveraging existing organizational tags, reducing administrative overhead related to credential management and enabling scalable management of multiple service instances. It enhances visibility and control in complex environments, particularly those involving cloud and container resources.

    If your organization uses tags for asset management, you can use the Service Mapping workspace to manage these tags and create tag-based application services.

    A tag is a label that consists of a key-value pair, used to categorize and organize assets within your organization. Tags enhance query and reporting capabilities, making it easier to manage and track resources. Unlike other mapping methods, tag-based mapping does not require configuring credentials or providing users with elevated rights. You can effectively use tags to map multiple service instances. Discovery and Cloud Provisioning and Governance can automatically detect tags from all major cloud providers and container ecosystems. Once these tags are discovered, Service Mapping can leverage them to create and manage application services. This approach is useful for resource management in virtualized, hyper-converged, and multi-cloud environments.

    For information about the traditional tag-based discovery process, see Tag-based discovery in Service Mapping. Tag-based discovery for the Service Mapping workspace operates differently and consists of the following stages:
    Note:

    Access to tag-based service mapping in the Service Mapping workspace requires the installation of Service Mapping Plus version 1.16.3. For more information, see Install Service Mapping Plus.

    1. Discovery and Cloud Provisioning and Governance discover tags for cloud and resource configuration items (CIs) and then populate data for discovered tags into the Key Value [cmdb_key_value] table.
    2. The administrator creates CI tag categories and defines tag keys that the categories contain. Tag categories contain tags with similar use. For example, if your organization has production and staging environments, you could create "production" and "staging" tag values.
      Note:
      Starting with version 1.7.0, Tag Governance offers five predefined categories that you can use without modification. Administrators can also modify these categories or add new ones.
    3. The process begins with the selection of a tag category from the available categories or a category that the administrator creates.
      • Only CIs with discovered tag keys for the selected tag categories become part of application services.
      • The administrator can narrow the criteria by defining specific tag values in addition to tag categories.
      • Service Mapping uses only CIs that have the matching values to create application services with the service family being created automatically.
    4. Service Mapping queries the CMDB for CIs with tag values that match the tag definitions for the selected categories.
    5. Service Mapping creates service candidates based on the defined tags.
    6. The administrator selects the service candidates to map, starts the mapping process, and names the tag-based service family. This record is saved so the administrator can return at any time to monitor or continue the process later.
    7. Service Mapping adds new application services to the Tag-Based Application Service [cmdb_ci_service_by_tags] table.
      Important:
      Service instances mapped using tags might not include relevant CIs if those CIs do not have the correct tags.
    8. The tag-based service content is calculated on demand either when the map is first viewed or initiated manually.

      Service Mapping maps application services by creating connections between tagged CIs based on CI relationships. The Traversal Rules for Application Services [svc_traversal_rules] table contains information used for creating tag-based application services.

      The Manual CI Exclusions/Inclusions [svc_manual_ci_exclusions_inclusions] table can filter out CI classes, helping to prevent them from being added by tags or traversal rules.

      Note:
      Service Mapping includes CIs that are part of these relationships even if these CIs do not have tags assigned to them.