Pattern diagnostic agentic workflow

  • Release version: Zurich
  • Updated June 9, 2026
  • 2 minutes to read
  • Summarize
    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 agentic workflow

    The Pattern diagnostic agentic workflow enables Discovery administrators to efficiently investigate missing configuration item (CI) attributes discovered through pattern-based Discovery in ServiceNow's Configuration Management Database (CMDB). It automates the complex process of identifying gaps by parsing discovery logs, determining root causes, and suggesting remediation actions directly from the Now Assist panel—eliminating the need for manual log file navigation.

    Show full answer Show less

    This workflow requires the Now Assist for IT Operations Management (ITOM) plugin and the discoveryadmin role.

    Key Features

    • Natural language interaction: Administrators trigger the workflow by asking questions via the Now Assist panel.
    • Automated investigation: The workflow identifies the CI class and its discovery-populated attributes, locates CIs with missing attributes, and analyzes discovery logs to find root causes.
    • Dual-agent architecture:
      • Pattern diagnostic agent executes investigative scripts autonomously.
      • EF Remediation Agent provides remediation suggestions based on findings.
    • Scope limitations: Supports only pattern-discovered CIs using default pattern metadata; custom pattern modifications are not analyzed.
    • Sample size: Analyzes up to five CIs to identify and report issues.

    Practical Use Cases

    • Infrastructure example: Investigating missing attributes such as cpumanufacturer on Linux Server CIs by querying discovery logs using the CI’s IP address.
    • Applicative pattern example: Handling attributes on MySQL database CIs by resolving their host server relationships and querying logs based on the host’s IP address.
    • Cloud pattern example: Investigating cloud CIs like AWS Auto Scaling Groups by resolving hosted relationships to obtain SA-LDC identifiers and searching logs accordingly.

    Benefits for ServiceNow Customers

    This workflow streamlines the troubleshooting of attribute gaps in pattern-discovered CIs, saving time and reducing errors associated with manual log analysis. By providing root cause identification and tailored remediation guidance within the Now Assist interface, it empowers Discovery administrators to maintain CMDB data quality and improve Discovery accuracy.

    The Pattern diagnostic agentic workflow helps Discovery administrators investigate missing CI attributes. It identifies the gap, parses discovery logs, identifies the root cause, and suggests remediation — without manually navigating log files.

    When Discovery runs, it populates CI attributes in the CMDB using both probe-based and pattern-based discovery. The Pattern diagnostic agentic workflow supports investigation into CIs discovered through pattern-based discovery. When an attribute is missing, identifying the cause requires navigating multiple tables and interpreting nested JSON in discovery logs. The Pattern diagnostic agentic workflow automates this investigation and suggests a remediation action, all from the Now Assist panel.

    Requirements

    Now Assist for IT Operations Management (ITOM) must be installed on your instance. For more information, see Install the Now Assist for IT Operations Management (ITOM) plugin.

    Role required: discovery_admin.

    Pattern diagnostic agentic workflow overview

    A Discovery administrator triggers the workflow by asking a natural-language question in the Now Assist panel. The workflow resolves the CI class and surfaces the attributes that Discovery is responsible for populating. The administrator selects the attribute to investigate. The workflow then identifies affected CI records with the selected attribute missing, parses the relevant discovery logs to identify the root cause, and suggests a remediation.

    The workflow uses two agents:

    • Pattern diagnostic agent: Receives the administrator's query and runs script tools autonomously to investigate the missing attribute.
    • EF Remediation Agent: Receives the identified root cause and suggests a remediation.

    Scope

    The workflow covers attribute coverage gaps for CI classes discovered through pattern-based Discovery. The following conditions apply:

    • Only CIs discovered through patterns are supported for analysis.
    • Analysis is based on the pattern metadata table (sn_disco_ai_pattern_metadata). This table contains metadata about the patterns populating a CI and its attributes. Only default pattern information is included; customizations made to patterns aren't considered.
    • Log analysis focuses on the first CI in the sample. If issues are found, the workflow reports them and stops. If no issues are found, it checks the next CI in the list, up to the sample limit of five.

    Examples

    The following scenarios illustrate how the workflow handles different CI and pattern types.

    Scenario 1: Direct infrastructure (Linux Server)

    The workflow investigates a missing cpu_manufacturer attribute on Linux Server CIs. The workflow resolves the CIs IP address and queries the discovery logs directly. It returns a full report with sample CIs investigated, link to CIs, root cause and remediation guidance.

    Scenario 2: Applicative pattern (MySQL database)

    The workflow investigates a missing attribute on a MySQL database CI. MySQL CIs are discovered through their host servers. The workflow navigates the Runs on relationship to resolve the host server's IP address and queries the discovery logs on the host, not the MySQL instance. It returns a full report with sample CIs investigated, link to CIs, root cause and remediation guidance.

    Scenario 3: Cloud pattern (AWS Auto Scaling Group)

    The workflow investigates a missing cluster_connection attribute on an AWS Auto Scaling Group CI. Cloud CIs use an SA-LDC identifier instead of a traditional IP address. The workflow navigates the Hosted on relationship to resolve the SA-LDC identifier and searches logs using the identifier and process ID. It returns a full report with sample CIs investigated, link to CIs, root cause and remediation guidance.