---
sourceDocument: Brazil Enable AI
sourceDocumentLink: https://www.servicenow.com/docs/r/intelligent-experiences

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Enable AI

ft:clusterId :

    - platai

bundleId :

    - platai

workflow :

    - Platform


---

# Pattern Diagnostic AI agent

# Pattern Diagnostic AI agent {#ariaid-title1}

Release version: Brazil  
Updated October 6, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of Pattern Diagnostic AI agent

The Pattern Diagnostic AI agent enhances the quality of CMDB configuration item (CI) data by analyzing Discovery pattern metadata.
It identifies CIs with missing attribute values, diagnoses discovery failures by parsing logs, and prepares error data for remediation through the Error Framework.
This agent helps ServiceNow customers quickly uncover why Discovery did not populate certain attributes on recently discovered CIs, enabling efficient troubleshooting and data remediation.
Show full answer Show less  

## Key Features

* **Attribute and CI Class Identification:** Suggests matching CI classes and attributes populated by Discovery patterns if not specified by the user.
* **Discovery Pattern Validation:** Confirms whether Discovery is responsible for populating the attribute or if manual entry or external integration is required.
* **Recent CI Analysis:** Finds CIs discovered in the last 30 days that are missing the specified attribute value.
* **Discovery Log Parsing:** Resolves managed IP addresses and searches discovery logs for errors, warnings, and diagnostic messages explaining missing data.
* **Error Classification and Logging:** Classifies primary errors from logs and logs them to the Error Framework when matching error codes are found.
* **Investigation Summary:** Provides a comprehensive summary including the responsible Discovery pattern, affected CIs, likely root causes, and links to CI records and logs.
* **User Interaction:** Enables users to investigate different attributes or CI classes iteratively.

## Configuration and Access

* **Third-Party Access:** Optional setting to allow third-party AI agents to use this agent (disabled by default).
* **AI Specialist Access:** Optional setting to enable advanced configuration for AI specialists, allowing input and response template mapping (disabled by default).
* **Long-Term Memory:** Optional setting to use all previous user interactions as context for the language model (disabled by default).
* **User Roles:** Access is restricted to users with the `discoveryadmin` role.
* **Data Access Roles:** The agent accesses data based on the `discoveryadmin` identity role.

## Tools Used

* Script DQA Discovery Log Parser
* DQA Error Classifier
* DQA ManagedIP Resolver
* DQA Missing Data Detector
* DQA Pattern Lookup Resolve CI Class

## Usage and Integration

The agent is designed for use within ServiceNow's Pattern Diagnostic Workflow and can be configured as an assistant within Virtual Agent or the ServiceNow Otto panel using Assistant Designer. Administrators can also define triggers to automate the agent's execution as needed.  
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 {#pattern-diagnostic-ai-agent__xoonsykrlvun}

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.
{#pattern-diagnostic-ai-agent__ol_xdt_ldq_obr}  
{#pattern-diagnostic-ai-agent__xoonsykrlvun__entry__2}

| 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](https://www.servicenow.com/docs/sa1bdHN6FqAGJmyqCFbo6w "Find more information about user roles, tables, and the different properties that are installed in ServiceNow Otto AI agents."). |
| 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](https://www.servicenow.com/docs/TTPcY_6jqFaCPLWj8oH1fQ "In the guided setup for an AI agent, add triggers to run the AI agent automatically when certain conditions are met."). |
| Channels | Configure an assistant for Virtual Agent or ServiceNow Otto panel using [Assistant Designer](https://www.servicenow.com/docs/access?context=configure-now-assist-va&version=brazil&pubname=brazil-conversational-interfaces&ft:locale=en-US). |
| Used in agentic workflows | Pattern Diagnostic Workflow |
[Table 1. Configuration]


