---
sourceDocument: Yokohama IT Operations Management
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/yokohama/it-operations-management

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama IT Operations Management

ft:clusterId :

    - itom

bundleId :

    - itom

workflow :

    - Technology


---

# Add CIs to application services using connection rules

# Add CIs to application services using connection rules {#ariaid-title1}

* Release version: Yokohama
* 
* Updated January 30, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read

Create rules for automatically adding traffic-based connections and the CIs they lead to in discovered service instances. Create rules that add CIs to multiple application services.

## Before you begin

* Analyze the infrastructure you are mapping to identify the most common connections. These common connections are good candidates for connection rules.
* [Discover applications based on fingerprints](https://servicenow-prod.fluidtopics.net/UPVcMhpdHZwkg8e~0ykjpQ "Discover applications based on suggestions based on ServiceNow Predictive Intelligence. Predictive Intelligence automatically classifies and categorizes the discovered running processes, as application fingerprints, and provides suggestions. ITOM Visibility uses Predictive Intelligence to perform initial analysis of discovered processes and suggest applications that you might want to discover. When using this method, ITOM Visibility automatically creates a Configuration Management Database (CMDB) configuration item (CI) class, a classifier, or a pattern for the new application CI class.").
* Confirm that discovery based on Predictive Intelligence is enabled. Navigate to the System Property \[sys_properties\] table and verify that the sa_ml.connection_suggestions.active property is set to True.
{#add-cis-connection-rules-multiple__ul_wdz_zrn_kpb}

Role required: service_mapping_admin

## About this task

Connection rules enhance the connection suggestions generated using Predictive Intelligence. Each rule contains a condition that describes an aspect of a traffic-based connection. The fields available in conditions come from the Connection Suggestion \[sa_ml_connection_suggestion\] table, which is only populated when you run top-down discovery. You can base your rules directly on the connection suggestions. For example, create a rule for any connection with confidence level High. Alternatively, if you know which CIs must be part of the service instances, you can choose fields that point at these CIs.

For information about Service Mapping evaluating and applying
connection rules, see [Traffic-based discovery in Service Mapping](https://servicenow-prod.fluidtopics.net/N~7rM~61XplreSWjhnedAg "Service Mapping can discover and map configuration items (CIs) following their traffic-based connections. This method is referred to as traffic-based mapping and complements pattern-based mapping.").

In addition to connection rules that add CIs to multiple services, you can [create rules for adding CIs to
specific application services](https://servicenow-prod.fluidtopics.net/vmfqwwskxZhbyrjUiIDLyg "Create rules for automatically adding traffic-based connections and the CIs they lead to in discovered service instances. Add CIs to specific application services using connection rules.").

## Procedure

1. Navigate to Service MappingAdministrationConnection Rules.  
   Alternatively, from a service application map, select SuggestionsGlobal Rules.
2. Create a new connection rule by clicking New.  
   Alternatively, customize an existing rule by clicking the rule name in the list.

   The Connection Rule form opens.
3. Select Active to start using this connection rule.  
   Service Mapping evaluates only active connection rules.
4. Enter a unique and meaningful name in the Name field.
5. Enter the value that Service Mapping uses for the sequence in the Order field.
6. Configure the filter condition in the Condition area.
   1. Select the field, operator, and the value.  
      For example, to add outgoing connections for any Tomcat server, configure the following filtering condition.  

   2. To create an additional filtering condition, click Add Filter Condition.
   3. To create an additional filtering condition using the OR operator, click Add "OR" Clause.
   {#add-cis-connection-rules-multiple__substeps_vsv_jqh_gpb}
7. Select <kbd class="ph userinput">Global</kbd> from the Scope list.
8. **Optional:** Specify services to which this connection rule doesn't apply.
   1. Click New in the Excluded Services area.  
      The Excluded Service form opens.
   2. Select the relevant service from the Discovered Application Service list.
   3. Click Submit.
   {#add-cis-connection-rules-multiple__substeps_x5j_vj4_gpb}
9. Click Update.

## What to do next

Verify that Service Mapping added CIs as expected by performing the following steps:

1. After the scheduled jobs rediscover the application services, open the maps of the application services where you expected Service Mapping to add CIs.
2. Check that CIs are added correctly based on the connection rules.
{#add-cis-connection-rules-multiple__ol_thv_zg3_gpb}
**Related concepts**   

* [Discovery based on Predictive Intelligence](https://servicenow-prod.fluidtopics.net/kgs4T0jeG2HkbT~i46adAQ "Service Mapping uses data processed by Predictive Intelligence to generate suggestions for traffic-based connections.")

*[\>]: and then


