--- title: Create or customize patterns description: Create or modify a discovery pattern and define its basic attributes. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/it-operations-management/discovery-and-service-mapping-patterns/t\_CreatePatternPatDef.html release: australia product: Discovery and Service Mapping Patterns classification: discovery-and-service-mapping-patterns topic_type: task last_updated: "2026-03-12" reading_time_minutes: 4 breadcrumb: [Discovery patterns used by ITOM Visibility, ITOM Visibility, IT Operations Management] --- # Create or customize patterns Create or modify a discovery pattern and define its basic attributes. ## Before you begin Make sure that the application for which you want to create a pattern, has a corresponding configuration item \(CI\) type and a CI classification. If the CI type you require is not in the list, create it as described in [Create CI types for Service Mapping and Discovery](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-operations-management/discovery-and-service-mapping-patterns/t_CreateCITypeForSM.md). If your ServiceNow instance uses domain separation and you have access to the global domain, log in to the relevant domain. The selected domain must be a domain without any child domains. Role required: pd\_admin Basic knowledge of programming is desirable. ## About this task Patterns can be of the infrastructure or application type. Infrastructure patterns are used only by Discovery for creating lists of devices. Application patterns serve both Service Mapping and Discovery, which use the same application patterns for their purposes. ## Procedure 1. Navigate to **All** > **Pattern Designer** > **Discovery Patterns**. 2. Click **New** or select the relevant pattern from the list. 3. Define the basic pattern attributes on the **Basic** tab.
| Field | Description |
|---|---|
| **Pattern type** | - Select **Application** for an application pattern. It can be used both for top-down discovery performed by Service Mapping and horizontal discovery performed by Discovery. - Select **Infrastructure** for an infrastructure pattern used for the horizontal host discovery performed by Discovery. |
| **Name** | Enter the pattern name. This name must be unique to this pattern. Use self-explanatory names such as `Apache on Unix pattern`. |
| **CI type** | Select the [CI type](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-operations-management/discovery-and-service-mapping-patterns/t_CreateCITypeForSM.md) which you want this pattern to discover.**Note:** Discovery can find multiple CIs that belong to the same CI type. |
| **Operating system** \[Application patterns only\] | Select the operating system that the selected CI runs:- Click **All** if the CI runs on more than one operating system. Or - Select the relevant operating systems from the list. |
| **Run Order** \[Application patterns only\] | For an application pattern used by Service Mapping, define when the pattern runs1. Select the order in which this pattern always runs: - **Before** - **After** 2. Then select the other applicable pattern. This field is only relevant if a particular pattern can be confused with another pattern. For example, both IIS and MS Exchange applications have an HTTP entry point. However MS Exchange uses some of the components of IIS. Therefore, if the IIS pattern ran first, discovery might incorrectly identify MS Exchange as IIS. To prevent this error, in the **Run Order** field in the MS Exchange pattern definition, select **Before** and **IIS**. |
| **Description** | Provide a description for this pattern. |