Major case detect AI agent

reference brazil Updated Sep 21, 2026 2 min read csm-major-case-detect-ai-agent.md
Raw file servicenow.com

This agent detects major case candidates by searching for cases similar to a newly created case, and either links the case to an existing major case or proposes it as a new major case.

Workflow

The agent runs when a case is created that matches its trigger condition.

  1. Get the triggering case's details, including its major case state, parent case, and a combined search query built from its short description, description, and recent comments.
  2. Search for cases similar to the triggering case. The agent first searches existing accepted or proposed major cases; if none match, it falls back to searching open non-major cases.
  3. Decide whether to link the case to an existing major case or, if enough similar non-major cases are found, propose the case as a new major case.
  4. Update the case: set suggested_major_case and business_impact, and add a work note with the AI-generated reasoning.

Note: The trigger that starts this agent is shipped inactive. An administrator must activate it before the agent runs on any case.

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 tool

Get Case Details – retrieves the case number, major case state, parent case, and a combined search query for the triggering case.

  • Script tool

Detect Similar Cases – performs a semantic similarity search for cases similar to the triggering case.

  • Script tool

Update Major Case Suggestion – updates the case with the major case link or proposal and writes the AI-generated work note.

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

sn_majorissue_mgt.major_issue_manager

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

sn_majorissue_mgt.major_issue_manager

Triggers

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

Fires when a case is created with priority 1 or 2, no parent case, and a major case state that is not already proposed or accepted.

Channels

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

Used in agentic workflows

Detect and link major case candidates during major issue management

Learn more about Customer Service Management at [Customer Service Management](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/customer-service-management/c_CustomerServiceManagement.md). For the configurable detection thresholds this agent uses, see [Configure ServiceNow Otto for CSM Major Issue Management](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/customer-service-management/configure-na-for-csm-major-issue-management.md).
Search documentation
Search document titles and file paths on the brazil branch