Discovery Patterns

ChittiS
Tera Expert

Hello Everyone,

I'm trying to understand the difference between sn_discovery_patterns and sa_pattern. Both appear to point to the same Pattern table, so I'm curious about their specific purposes and use cases.

Could someone help clarify the distinction?

Thanks!

1 ACCEPTED SOLUTION

pr8172510
Kilo Sage

Hi @ChittiS,

"Patterns of all types are stored in the Discovery Patterns [sa_pattern] table."

So, sa_pattern is the actual table where Discovery and Service Mapping patterns are stored.

The sn_discovery_patterns name is associated with the Discovery and Service Mapping Patterns application/scope, whereas sa_pattern is the underlying table that contains the pattern records.

"Patterns of all types are stored in the Discovery Patterns [sa_pattern] table."

 

  • sa_pattern = Discovery Patterns table (stores the pattern records)
  • sn_discovery_patterns = Discovery and Service Mapping Patterns application/scope

For Pattern Designer, Discovery Patterns, and Service Mapping Patterns, the records are ultimately stored in sa_pattern.

 

View solution in original post

3 REPLIES 3

pr8172510
Kilo Sage

Hi @ChittiS,

"Patterns of all types are stored in the Discovery Patterns [sa_pattern] table."

So, sa_pattern is the actual table where Discovery and Service Mapping patterns are stored.

The sn_discovery_patterns name is associated with the Discovery and Service Mapping Patterns application/scope, whereas sa_pattern is the underlying table that contains the pattern records.

"Patterns of all types are stored in the Discovery Patterns [sa_pattern] table."

 

  • sa_pattern = Discovery Patterns table (stores the pattern records)
  • sn_discovery_patterns = Discovery and Service Mapping Patterns application/scope

For Pattern Designer, Discovery Patterns, and Service Mapping Patterns, the records are ultimately stored in sa_pattern.

 

Tanushree Maiti
Tera Patron

Hi @ChittiS 

 

ServiceNow Discovery Patterns are script-driven workflows used by ITOM Visibility to detect infrastructure, applications, and their dependencies in the network. They replace traditional JavaScript-based probes/sensors with a visual Pattern Designer to efficiently populate and maintain Configuration Items (CIs) in the CMDB. 

 

The sa_pattern table in ServiceNow is the central administrative interface for managing and executing Discovery and Service Mapping Patterns. It functions as the primary repository for the code that instructs the MID Server on how to identify and classify Infrastructure and Application CIs. 

 

Refer: Enhance patterns without changing their identification sections 

 

 

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti

ChittiS
Tera Expert

Hello @pr8172510 , So both the tables are same right?
Thanks