Platform Analyze task trends agentic workflow

  • Release version: Zurich
  • Updated April 1, 2026
  • 8 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 Platform Analyze Task Trends Agentic Workflow

    The Platform Analyze task trends agentic workflow helps ServiceNow customers detect recurring patterns in closed task records to identify root causes and receive AI-driven recommendations for preventing future incidents. By grouping and analyzing tasks with AI, this workflow enables proactive issue resolution, reduces downtime, and improves task reliability.

    Show full answer Show less

    This workflow analyzes common fields such as Short Description, Description, Resolution Notes, and categorization fields, using AI models to generate actionable insights. Users can interact with the analysis by requesting summaries, downloading reports, asking follow-up questions, or analyzing additional groups of tasks.

    Prerequisites and Setup

    • Requires installation of Now Assist for Platform or related Now Assist applications (e.g., Now Assist for ITSM).
    • A minimum of 500 task records is recommended for meaningful analysis.
    • Group Action Framework (GAF) must be configured for the relevant task tables; default GAF setup exists for Incident, Case, and HR Case tables.
    • Users need the role snuxcgenai.platformaianalyzetrnds with appropriate data access roles (e.g., itil) to enable data reading and workflow execution.
    • Custom categorization can be configured by cloning and adjusting action strategy skills within the skill configuration variable sets.

    Configuration and Customization

    • Input fields and filters for analysis can be customized via the Now Assist Skill Config Var Set, including adding fields beyond defaults like Assignment Group or Configuration Item.
    • Post-analysis user actions (e.g., getting summaries, downloading reports, analyzing next task groups) are configurable.
    • Time frame for analysis is a required filter, with default maximum ranges configurable in the skill settings.
    • Agentic workflow instructions can be tailored by duplicating and modifying the workflow template.

    Access and Usage

    • Access the workflow through AI Agent Studio under “Analyze task trends” for guided setup and AI agent management.
    • Use the Now Assist panel in the Core UI or workspaces to interact with the workflow, track progress, and review results.
    • UI actions can be enabled for workflow invocation; ensure the property com.glide.agenticprocessesview.enabled is set to true for visibility.
    • Testing is supported via AI Agent Studio, allowing manual or automated execution using sample utterances specifying table names and time frames.

    Typical Use Cases and User Interaction

    • Analyze trends for specific task tables (e.g., Incident, Case, HR Case) over defined time frames.
    • Filter analyses by fields like assignment group or priority to focus on relevant subsets.
    • Receive AI-generated root cause insights and recommendations to prevent recurring issues.
    • Download detailed analysis reports in PDF or Word format for sharing and documentation.
    • Engage in follow-up queries for deeper understanding of recommendations and trends.

    Troubleshooting

    If the workflow returns errors about missing resources, verify that Group Action Framework is properly configured for the target tables. For unresolved issues, contact Now Support.

    AI Agents Involved

    The workflow leverages a dedicated AI agent named Issue trend analysis AI agent that performs grouping, root cause identification, and recommendation generation. This agent requires the snuxcgenai.platformaianalyzetrnds role and must be activated within AI Agent Studio.

    Use the Platform Analyze task trends agentic workflow to detect recurring task patterns of closed tickets so that you can understand the root cause and get recommendations to prevent them from happening in future.

    Analyze task trends overview

    The Analyze task trends agentic workflow enhances task management by detecting recurring patterns, predicting disruptions, and suggesting proactive resolution to reduce downtime and improve reliability. Tasks are grouped and analyzed by AI to analyze common recurring issues and root causes. The LLM then generates resolution recommendations based on the analysis and displays it to you. After the analysis is generated, you can continue the conversation to do the following:

    • Get a summary of each group analysis. You have to specify which group you would like to get a summary of.
    • Download the analysis as a PDF or Word document.
    • Get more information by asking follow-up questions. For example, you can ask why certain suggestions were generated.
    • Analyze the next ten groups. Each analysis is done for ten groups at a time. You can continue analyzing more groups with the same filters within the same conversation, but the other actions for the previous group are no longer available.

    The exact options for follow-up actions available can be configured.

    The default input fields considered for analysis are the following:

    • Short Description
    • Description
    • Resolution Notes
    • Resolution Code
    • Subcategory
    • Category

    You can con figure additional input fields using a Now Assist Skill Config Var Set [sn_nowassist_skill_config_var_set]. See the Additional configuration section for more information.

    The agents, tools, and triggers associated with the Analyze task trends agentic workflow are provided by Now Assist applications. You can activate the agentic workflow template by making triggers active and setting the display settings to include the Now Assist panel. If you want to change this agentic workflow's instructions, you must duplicate it, adjust the settings to suit your specific needs, and activate the duplicated version instead.

    Prerequisites and setup

    To access this workflow, you must have Now Assist for Platform installed on your instance. You can get this by installing any other Now Assist application, such as Now Assist for IT Service Management (ITSM).

    For this agentic workflow to behave as expected, you should have at least 500 records on your task table.

    You must also configure Group Action Framework (GAF). See Group Action Framework for more information on what GAF is and how to set it up. The Incident, Case and HR Case tables use the default GAF records, but you can configure GAF for other task tables.

    GAF is set up for certain Now Assist applications for you. If you want the agentic workflow to have its own system of categorization different from the main application, you can clone an existing action strategy skill and use the clone in the var set described below. This enables you to train the groupings differently for different agentic resources.

    Note:
    If you create a clone of an action strategy skill, ensure that Optimized prediction is enabled to use AI Search as your fallback. You can leave it unchecked if you do not use AI Search on your instance.

    Role masking

    Required role: sn_uxc_gen_ai.platform_ai_analyze_trnds.

    Role masking enables users to limit the roles and privileges of agentic workflows during tool execution. Agentic workflows and their AI agents that get installed with Now Assist applications are assigned pre-defined roles. If you select Users with specific roles for user access, you must configure the security controls to include these roles. Data access settings must also include these roles. For the instructions to change the security controls, see Define security controls for an agentic workflow.

    In the data access settings, you must also add the necessary roles to enable reading of the tables for the records you want to access for trend analysis. For example, you can add the itil role to the agentic workflow's list of approved roles so that it can access Incident records.

    Additional configuration

    You can change different settings related to the agentic workflow by changing values for the Now Assist Skill Config Var Set. To access the variable set and make changes, do the following while in the Platform AI Agents and Skills scope:

    • Go to the Now Assist Skill Config [sn_nowassist_skill_config] table.
    • Open the record named Analyze Task Trends.
    • In the Now Assist Skill Config Var Set related list, select Task Trends Input Config.
    • Edit the variable values.
    • Save or update the record.

    Time is a required filter specification in the user utterance. If you want users to be able to filter tasks by fields other than time, you can configure a Task Table Config var set. One for the Task table is provided as part of the application. If you want to create one for a specific table, you can create a Now Assist Skill Config Var Set [sn_nowassist_skill_config_var_set]. The Skill Config is Analyze Task Trends, and the Config Type is Prompt Parameter Configuration.

    Table 1. Task Trends Input Config configuration

    Config field

    Description

    Default value

    Post Analysis Actions

    List of possible follow-up actions a user can take before the agentic workflow completes.

    • Get a summary
    • Get more info
    • Analyze next 10 groups
    • Download analysis

    Analysis Time Frame

    Range of time, in months, for the trends analyzer to look at records to identify trends. You can specify smaller ranges when running the agentic workflow, but this value defines the maximum limit.

    3

    GAF Record Limit

    Number of records analyzed per GAF record grouping. See the previous Prerequisites and setup section.

    8

    Table 2. Prompt parameter configuration

    Config field

    Description

    Default value

    Input Table

    Table that these potential filter conditions belong to

    Task

    Input Fields

    Additional fields that the agentic workflow can consider as context for its analysis

    None

    Filter Fields

    Fields that users can include when invoking the agentic workflow

    If you want to add new fields, use the dot-walked display-label format like the default values.

    • Assignment group.Name
    • Service.Name
    • Configuration item.Name

    Group Skill ID

    The Group Action Framework grouping skill dedicated to arranging records into categories

    No default

    Action Skill ID

    The Group Action Framework action skill dedicated to selecting and mapping representative records for each group and summarizing them

    See Group Action Framework for information about setting up GAF.

    No default

    Auto Classify Frequency

    When the grouping and action skills run again to incorporate new records for analysis

    No default

    Note:
    If you provide a Group Skill ID and an Action Skill ID but leave the Auto Classify Frequency empty, it will default to 24 hours.

    Accessing the Analyze task trends agentic workflow

    To access the agentic workflow:

    The first step of the guided setup includes a complete list of included AI agents. Selecting the name of an AI agent opens it in a new browser tab, where you can see the full description, role, list of steps, and tools. Tools are displayed in the second step of the AI agent guided setup, Add tools and information.

    In-product agentic AI and UI actions

    Agentic workflows can be accessed in the Core UI and in workspaces in the AI Activity panel. From there, you can track their progress, provide or review input, and see the results of the work performed. For more information, see In-product agentic AI for more details about the AI Activity panel.

    To enable users to access agentic workflows with UI actions, you can open the agentic workflow in AI Agent Studio and navigate to the Select channels and access step. You can select a UI action as a possible way to access the workflow

    If you don't see your UI actions after configuring it in AI Agent Studio, ensure that the property com.glide.agentic_processes_view.enabled is set to true. See Enable the in-product experience for agentic workflows.

    Testing the Analyze task trends agentic workflow

    You can manually test an agentic workflow execution or access on the Testing page of AI Agent Studio if you have the sn.aia_admin role and all other roles configured in the security controls. Start a manual test, select a test type and the name of the workflow, and use utterances in the Task field like the following samples. See Test an agentic workflow execution.

    If you want to evaluate the agentic workflow over many different execution logs, run an automated evaluation.

    Sample utterance

    After the workflow has been activated in AI Agent Studio, use similar queries to the following to run the agentic workflow in the Now Assist panel. You can also run this workflow on the Testing page of AI Agent Studio with the same utterance in the Task field if you have the sn.aia_admin role.

    Each utterance must include the name of the table and the time frame to analyze. If the utterance doesn't include these things, the agentic workflow prompts you for more information.

    The time frame specified by the user can't exceed the maximum value set by the Analysis time frame configuration.

    When invoking the agentic workflow, if you want to use additional filters, such as assignment group, use the name of the field in the utterance. For example, "Analyze incident trends assigned to the Hardware group" is more likely to analyze the correct records than "Analyze Hardware incident trends."

    • Analyze incident trends related to payment issues within the last two months
    • Analyze case trends within the last month
    • Analyze HR case trends with High Priority within the last two years
    • Analyze incident and problem trends within the last two weeks

    Troubleshooting

    When running this agentic workflow, it's possible to see an error that states "I couldn't analyze as I didn't have the required resources." This error occurs when GAF isn't configured for the table you want to analyze. See Configure Group Action Framework for steps to configure GAF for the table. If you're still having issues after GAF is configured, reach out to Now Support.

    AI agents used in the Analyze task trends agentic workflow

    The following table lists the agents that are used in the Analyze task trends agentic workflow.
    Important:
    In the Select channels and status step of each AI agent's guided setup, make sure that the Status toggle is enabled to activate the AI agent.
    Table 3. AI agents names and descriptions in the Analyze task trends agentic workflow
    AI agent name AI agent description Role required
    Issue trend analysis AI agent Analyzes grouped task data to identify recurring issues and root causes. Provides detailed, actionable recommendations using structured analysis. sn_uxc_gen_ai.platform_ai_analyze_trnds

    Other Platform agentic workflows

    For more information on other agentic workflows that are associated with the Platform workflow, see Platform agentic workflows.