Thank you for your feedback.
Form temporarily unavailable. Please try again or contact to submit your comments.

Pattern customization

Log in to subscribe to topics and get notified when content changes.

Pattern customization

Service Mapping and Discovery use patterns in their discovery process. The base system contains a wide range of patterns that cover most industry standard network devices and applications. You can customize these patterns and create new ones.

In Service Mapping and Discovery, devices and applications are referred to as configuration items (CIs).

What discovery patterns are

A pattern is a sequence of steps whose purpose is to detect attributes of a CI and its outbound connections. Service Mapping and Discovery share a set of preconfigured patterns that cover most of the commonly used devices and applications. Patterns can be of infrastructure and application type. Infrastructure patterns are used only by Discovery for creating lists of devices. Application patterns serve both Service Mapping and Discovery that use the same application patterns for their purposes. For example, Discovery runs the horizontal discovery with the Apache Web Server pattern to find and list all Apache Web Servers in your organization. Service Mapping runs the top-down discovery using the same pattern to discover a specific Apache Web Server and place it on a business service map.

Table 1. Pattern usage by Service Mapping and Discovery
Product Pattern type Result
Discovery Infrastructure pattern Inventory list of devices
Application pattern Inventory list of applications
Service Mapping Application pattern Business service map

For discovering devices that act as hosts for applications, Service Mapping relies on Discovery. As part of the top-down discovery process, Service Mapping triggers Discovery to perform its horizontal discovery behind the scenes. Service Mapping then uses information on hosts provided by the horizontal discovery to create its business service maps.

Discovery uses a combination of probes and patterns. For more information, see Horizontal discovery process flow with probes and sensors.

Correlation between pattern and CI type

Patterns are assigned to the CI types that they serve to discover. If necessary, you may assign more than one CI type per pattern. In that case, you define one main CI type and multiple related CI types. For example, a pattern for discovering BIG-IP Global Traffic Manager (GTM) F5 has BIG-IP Global Traffic Manager (GTM) F5 as its main CI type and related CI types for the DNS name, network adapter and other components.

For top-down discovery performed by Service Mapping, each application pattern serves to discover only the main CI type.

During top-down discovery, a pattern discovers only the main CI type
At the same time, Service Mapping usually uses more than one pattern to discover the same CI type, since a CI type can use different protocols, operating systems, entry points, and so on.
Unlike top-down discovery, the process of horizontal discovery uses each pattern to discover a main CI type with all related CI types.

During horizontal discovery, a pattern discovers the main CI type and all related CI types

Why customize patterns

You can customize patterns in the following cases:
  • If your organization uses proprietary devices and applications, create patterns for these items to enable Discovery and Service Mapping to discover them.
  • If you modify key attributes of CI types that had corresponding patterns, modify the relevant patterns to reflect the change.

Pattern versions

When you customize a pattern, you actually create a copy of the original pre-configured pattern. While Service Mapping or Discovery use the customized version, the original version is not deleted. When you upgrade your ServiceNow platform, it updates the original pattern, not the customized copy of it.

If at some point you want to abandon the customized pattern and start using the updated original pattern, you can revert to the original pattern as described in Choose the pattern version.

Patterns for instances using domain separation

In instances that use domain separation, patterns may be domain-specific, covering only domains that you created them for, or global, applying to all domains.

Patterns belong to domains. By default, all preconfigured patterns are assigned to the global domain and apply to all domains of all levels.

You can create patterns for specific domains. In that case, the new pattern is used only for this domain and does not exist in any other domains. If you customize an existing pattern in the global domain and assign it to a specific domain, you create a copy of the global pattern, which is still used for all other domains except the domain that has the customized version of this pattern. Likewise, if you customize the pattern belonging to the global domain, the change effects all domains except the one that uses a customized copy of this pattern.

Patterns may be domain-specific or global.

Pattern creation or modification flow

Follow these steps to create or modify a pattern: