what are difference between sn_discovery_patterns and sa_pattern tables ?

Hermanfr
Mega Expert

Hello Team, 

I'm new in discovery and found out that patterns are stored in sn_discovery_patterns and have "duplicate" entries in sa_pattern. 
What is the role of sa_pattern ? 
And hot to setup and audit on Pattern text if sn_discovery_patterns is not available in under System definition - tables 

Thank you for you help, 
Regards Mar

1 ACCEPTED SOLUTION

Hermanfr
Mega Expert

Solution:


- When attempting to configure the sn_discovery_patterns table, the system redirects to the sa_pattern table. This is expected behavior in ServiceNow, as sn_discovery_patterns i its configuration is managed through sa_pattern.

- The sa_pattern table serves as the administrative interface for managing Discovery Patterns, including the Pattern Text field. This means that any auditing or configuration you intend to apply—such as field-level auditing or business rules—should be implemented on the sa_pattern table.

- You can safely use sa_pattern for your audit setup, as it reflects the relevant pattern data and is the supported interface for such operations.

View solution in original post

1 REPLY 1

Hermanfr
Mega Expert

Solution:


- When attempting to configure the sn_discovery_patterns table, the system redirects to the sa_pattern table. This is expected behavior in ServiceNow, as sn_discovery_patterns i its configuration is managed through sa_pattern.

- The sa_pattern table serves as the administrative interface for managing Discovery Patterns, including the Pattern Text field. This means that any auditing or configuration you intend to apply—such as field-level auditing or business rules—should be implemented on the sa_pattern table.

- You can safely use sa_pattern for your audit setup, as it reflects the relevant pattern data and is the supported interface for such operations.