Product documentation Docs
    • English
    • Deutsch
    • 日本語
    • 한국어
    • Français
  • More Sites
    • Now Community
    • Developer Site
    • Knowledge Base
    • Product Information
    • ServiceNow.com
    • Training
    • Customer Success Center
    • ServiceNow Support Videos
  • Log in

Product documentation

  • Home
How search works:
  • Punctuation and capital letters are ignored
  • Special characters like underscores (_) are removed
  • Known synonyms are applied
  • The most relevant topics (based on weighting and matching to search terms) are listed first in search results
Topics are ranked in search results by how closely they match your search terms
  • A match on the entire phrase you typed
  • A match on part of the phrase you typed
  • A match on ALL of the terms in the phrase you typed
  • A match on ANY of the terms in the phrase you typed

Note: Matches in titles are always highly ranked.

  • Release version
    Table of Contents
    • IT Operations Management
Table of Contents
Choose your release version
    Home Madrid IT Operations Management IT Operations Management Discovery patterns used by Service Mapping and Discovery Enhance patterns without changing their identification sections

    Enhance patterns without changing their identification sections

    • Save as PDF Selected topic Topic & subtopics All topics in contents
    • Unsubscribe Log in to subscribe to topics and get notified when content changes.
    • Share this page

    Enhance patterns without changing their identification sections

    Enable patterns to search for additional attributes and modify pattern discovery logic defined in identification sections by using extension sections.

    Before you begin

    If your ServiceNow instance uses domain separation and you have access to the global domain, select the domain to which the application service belongs from the domain picker (Domain picker). The selected domain must be a domain without any child domains.

    Basic knowledge of programming is desirable.

    Role required: pd_admin

    About this task

    Patterns can be of infrastructure or 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. Each pattern including its identification and connection sections is an individual file. There are also reusable sequences of discovery steps referred to as shared libraries. Each shared library is an individual file, but it is always part of the infrastructure or application pattern and is not used as a standalone pattern. Records for both patterns and shared libraries reside in the Discovery Patterns [sa_pattern] table.

    To modify the discovery logic in identification sections without changing the identification sections themselves, you can add extension sections to the pattern. Every extension section consists of a shared library, either new or existing.


    Adding an extension section to a pattern.
    When you create or modify a shared library in the extension section, you save changes only to the shared library, not to the pattern containing this extension section.
    Warning: The changes to the shared library affect all patterns using this shared library.

    The MID Server runs extension sections after identification sections and only if at least one identification section completes successfully.

    If there are more than one extension sections associated with this pattern, define the order in which the MID Server runs these extension sections.

    You can deactivate shared libraries, so that patterns using them, skip steps in deactivated shared libraries. For more information, see Discovery Configuration Console.

    Procedure

    1. Navigate to Pattern Designer > Discovery Patterns and open the required pattern from the pattern list.

      The pattern can be of the Infrastructure or Application type.

    2. To define discovery steps for the new extension section.
      1. Click New under Extension section.
      2. Enter the name of this extension section.
      3. Click Done.
        The pattern form displays the new section under Extension section.
      4. Click the name of the new extension section.

        The Pattern Designer opens showing the Steps tree on the left.

        If no discovery steps have been identified for this pattern, the Untitled Step appears in the Steps tree in the left pane of the window.

      5. Define discovery steps.
      6. Click Save to save the extension section and make Service Mapping and Discovery use it.
        You do not publish extension sections
    3. To use an existing shared library for the new extension section:
      1. Click Add under Extension section.
      2. Select the shared library from the name list.
    4. If there are more than one extension sections, define the order in which the MID Server runs the extension section.
      1. Select the check box next to the extension section.
      2. Click Edit under Extension section.
      3. Enter a number that determines the order in the Order field.
        If there is only one extension section, its order is 1 by default.
        The section with the lowest order number is used first.
      4. Click Done.

    What to do next

    Click Debug to run the newly created extension section. Pattern Designer runs extension sections after running identification sections.

    Previous topic
    • Discover related items together with the main CI
    Next topic
    • Fine-tune patterns using traffic-based discovery

    Tags:

    Feedback
    On this page

    Previous topic

    Next topic

    • Contact Us
    • Careers
    • Terms of Use
    • Privacy Statement
    • Sitemap
    • © ServiceNow. All rights reserved.

    Release version
    Choose your release version

      Enhance patterns without changing their identification sections

      • Save as PDF Selected topic Topic & subtopics All topics in contents
      • Unsubscribe Log in to subscribe to topics and get notified when content changes.
      • Share this page

      Enhance patterns without changing their identification sections

      Enable patterns to search for additional attributes and modify pattern discovery logic defined in identification sections by using extension sections.

      Before you begin

      If your ServiceNow instance uses domain separation and you have access to the global domain, select the domain to which the application service belongs from the domain picker (Domain picker). The selected domain must be a domain without any child domains.

      Basic knowledge of programming is desirable.

      Role required: pd_admin

      About this task

      Patterns can be of infrastructure or 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. Each pattern including its identification and connection sections is an individual file. There are also reusable sequences of discovery steps referred to as shared libraries. Each shared library is an individual file, but it is always part of the infrastructure or application pattern and is not used as a standalone pattern. Records for both patterns and shared libraries reside in the Discovery Patterns [sa_pattern] table.

      To modify the discovery logic in identification sections without changing the identification sections themselves, you can add extension sections to the pattern. Every extension section consists of a shared library, either new or existing.


      Adding an extension section to a pattern.
      When you create or modify a shared library in the extension section, you save changes only to the shared library, not to the pattern containing this extension section.
      Warning: The changes to the shared library affect all patterns using this shared library.

      The MID Server runs extension sections after identification sections and only if at least one identification section completes successfully.

      If there are more than one extension sections associated with this pattern, define the order in which the MID Server runs these extension sections.

      You can deactivate shared libraries, so that patterns using them, skip steps in deactivated shared libraries. For more information, see Discovery Configuration Console.

      Procedure

      1. Navigate to Pattern Designer > Discovery Patterns and open the required pattern from the pattern list.

        The pattern can be of the Infrastructure or Application type.

      2. To define discovery steps for the new extension section.
        1. Click New under Extension section.
        2. Enter the name of this extension section.
        3. Click Done.
          The pattern form displays the new section under Extension section.
        4. Click the name of the new extension section.

          The Pattern Designer opens showing the Steps tree on the left.

          If no discovery steps have been identified for this pattern, the Untitled Step appears in the Steps tree in the left pane of the window.

        5. Define discovery steps.
        6. Click Save to save the extension section and make Service Mapping and Discovery use it.
          You do not publish extension sections
      3. To use an existing shared library for the new extension section:
        1. Click Add under Extension section.
        2. Select the shared library from the name list.
      4. If there are more than one extension sections, define the order in which the MID Server runs the extension section.
        1. Select the check box next to the extension section.
        2. Click Edit under Extension section.
        3. Enter a number that determines the order in the Order field.
          If there is only one extension section, its order is 1 by default.
          The section with the lowest order number is used first.
        4. Click Done.

      What to do next

      Click Debug to run the newly created extension section. Pattern Designer runs extension sections after running identification sections.

      Previous topic
      • Discover related items together with the main CI
      Next topic
      • Fine-tune patterns using traffic-based discovery

      Tags:

      Feedback

          Share this page

          Got it! Feel free to add a comment
          To share your product suggestions, visit the Idea Portal.
          Please let us know how to improve this content

          Check any that apply

          To share your product suggestions, visit the Idea Portal.
          Confirm

          We were unable to find "Coaching" in Jakarta. Would you like to search instead?

          No Yes
          • Contact Us
          • Careers
          • Terms of Use
          • Privacy Statement
          • Sitemap
          • © ServiceNow. All rights reserved.

          Subscribe Subscribed Unsubscribe Last updated: Tags: January February March April May June July August September October November December No Results Found Versions Search preferences successfully updated My release version successfully updated My release version successfully deleted An error has occurred. Please try again later. You have been unsubscribed from all topics. You are now subscribed to and will receive notifications if any changes are made to this page. You have been unsubscribed from this content Thank you for your feedback. Form temporarily unavailable. Please try again or contact  docfeedback@servicenow.com  to submit your comments. The topic you requested does not exist in the release. You were redirected to a related topic instead. The available release versions for this topic are listed There is no specific version for this documentation. Explore products Click to go to the page. Release notes and upgrades Click to open the dropdown menu. Delete Remove No selected version Reset This field is required You are already subscribed to this topic Attach screenshot The file you uploaded exceeds the allowed file size of 20MB. Please try again with a smaller file. Please complete the reCAPTCHA step to attach a screenshot
          Log in to personalize your search results and subscribe to topics
          No, thanks Login