Thank you for your feedback.
Form temporarily unavailable. Please try again or contact docfeedback@servicenow.com to submit your comments.
Versions
  • London
  • Kingston
  • Jakarta
  • Istanbul
  • Helsinki
  • Geneva
  • Store
Close

Find a matching URL

Find a matching URL

As part of creating or modifying a discovery pattern, you can use the Find Matching URL operation to find the best match for the main URL and create a variable to hold it.

Before you begin

  • Make sure that you know the main URL of the application.

  • Navigate to the relevant pattern step:

    1. On the pattern form, select the relevant identification section for Discovery.

      Alternatively, select the relevant identification or connection section for Service Mapping.

    2. Select the relevant pattern step or click to add a step.

Basic knowledge of programming is desirable.

Role required: pd_admin

About this task

Some application CIs have configuration files containing lists of possible URLs. You can search such lists to find the match for the URL that allows connecting to a configuration item (CI).

Procedure

  1. Select Find matching URL from the Operation list.
  2. Fill in the fields, as appropriate.
    Field Description
    Values Specify the table and records containing potential URLs. You can use values from variables, including temporary tabular variables: from a specific field or a specific column in a table sequentially, starting from the first row. For more information, see Enter values and variables in patterns.
    URL Specify the URL for which you are seeking the best match.
    Target Variable Specify the variable name to contain the best match.
  3. If in Debug mode, test the step by clicking Test and checking that the operation brings the result you expected.

Example

This operation is used in This item
Hierarchy Applications > Application Server
CI Type Jboss [cmdb_ci_app_server_jboss]
Pattern Jboss pattern
Section http identification section
Step number and Name 43. best match

To filter the table on Jboss and to create a variable to hold the best match for the Jboss entry point URL, define the Find Matching URL operation as follows:


Defining conditions

What to do next