Pattern Diagnostic AI agent

reference brazil Updated Oct 6, 2026 2 min read pattern-diagnostic-ai-agent.md
Raw file servicenow.com

The Pattern Diagnostic Agent AI agent analyzes CMDB configuration item (CI) data quality by using Discovery pattern metadata. The agent identifies CIs with missing attribute values, parses discovery logs to diagnose the failures, and prepares the error data for remediation through the Error Framework.

Workflow

The agent helps the user find out why Discovery didn't populate an attribute on recently discovered CIs of a specific CI class.

  1. Identify the CI class and the attribute to investigate, suggesting matching CI classes and the attributes that Discovery patterns populate if the user doesn't specify them.
  2. Check the Discovery pattern metadata to confirm that Discovery is responsible for populating the attribute, and inform the user if the attribute requires manual entry or an external integration instead.
  3. Find the CIs discovered by ServiceNow in the last 30 days that are missing a value for the attribute, and report whether any affected CIs exist.
  4. Resolve the managed IP addresses for the affected CIs and search the discovery logs for errors, warnings, and diagnostic messages that explain the missing data.
  5. Classify the primary error from the discovery logs and log it to the Error Framework when a matching error code is found.
  6. Present an investigation summary that covers the Discovery pattern responsible for the attribute, the affected CIs, and the likely root cause, with links to the CI records and discovery logs.
  7. Ask the user whether they want to investigate a different attribute or CI class.

Field

Description

Allow third party to access this AI agent

When enabled, third-party AI agents can use this agent. This value is off (false) by default. This setting is defined in the AI Agent configs [sn_aia_agent_config] table on the External discoverable field.

Allow AI specialists to access this AI agent

When enabled, AI specialists can use this agent. This value is off (false) by default. When set to true, more configuration options for tools become available so that an AI specialist can map inputs and response templates to tool outputs. This setting is defined in the AI Agent configs [sn_aia_agent_config] table on the Specialist enabled field.

Manage long-term memory

When enabled, all previous user interactions are used as context for the LLM. This value is off (false) by default. This setting is defined by the sn_aia.ltm.enable_long_term_memory system property. For more information, see ServiceNow Otto AI agents reference.

Tools

  • Script

DQA Discovery Log Parser

DQA Error Classifier

DQA ManagedIP Resolver

DQA Missing Data Detector

DQA Pattern Lookup

Resolve CI Class

Allowed user roles The specific user roles that can access this AI agent.

discovery_admin

Data access roles The specific user identity roles that determine which data the AI agent can access and what actions it can take.

discovery_admin

Triggers

Optional. None defined by default. An admin can specify triggers if desired. For more information, see Add a trigger to an AI agent.

Channels

Configure an assistant for Virtual Agent or ServiceNow Otto panel using Assistant Designer.

Used in agentic workflows

Pattern Diagnostic Workflow

**Parent Topic:**[IT Operations Management AI agents](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/intelligent-experiences/itom-ai-agents-overview.md)
Search documentation
Search document titles and file paths on the brazil branch