Platform Analyze task trends agentic workflow
Summarize
Summary of Platform Analyze Task Trends Agentic Workflow
The Platform Analyze task trends agentic workflow helps ServiceNow customers detect recurring patterns in closed task tickets to identify root causes and receive AI-generated recommendations to prevent future issues. It uses AI grouping and analysis on task data fields such as short description, resolution notes, and categories, then provides actionable insights to reduce downtime and improve service reliability. Customers can review summaries, download reports, ask follow-up questions, and analyze task groups in batches.
Show less
Key Features
- AI-Powered Analysis: Groups tasks by common issues and root causes using Group Action Framework (GAF) and large language models to generate resolution suggestions.
- Interactive Follow-up Actions: Allows customers to get summaries, request additional details, download analysis reports, or continue analyzing more groups within the same conversation.
- Configurable Inputs and Filters: Default analyzed fields include Short Description, Description, Resolution Notes, Category, and Subcategory. Additional fields and filters can be configured via Now Assist Skill Config Var Set.
- Integration and Activation: Provided through Now Assist applications; activation requires enabling triggers and display settings in AI Agent Studio. Customization requires duplicating and adjusting the workflow.
- Access Control and Security: Requires specific roles (e.g., snuxcgenai.platformaianalyzetrnds) and proper data access permissions to read task records.
- Testing and Troubleshooting: Supports manual and automated testing in AI Agent Studio. Common errors often relate to missing GAF configuration for the target tables.
Prerequisites and Setup
- Now Assist for Platform must be installed (or any Now Assist app such as ITSM).
- At least 500 task records should exist for meaningful trend analysis.
- Group Action Framework (GAF) must be configured for the task table to enable grouping and analysis.
- Proper roles and security controls must be assigned for users and AI agents to access task data.
Configuration and Customization
Users can modify analysis parameters, input fields, and follow-up actions through the Now Assist Skill Config Var Set. Time frame filters are required, and additional filtering by task fields (like assignment group or priority) can be set up to refine trend detection. Grouping and action skills in GAF can be cloned and customized for different categorization needs.
Access and Usage
- Access the workflow via AI Agent Studio under "Analyze task trends".
- Run analyses using natural language queries specifying table name and time frame, e.g., “Analyze incident trends within the last two months.”
- Use the AI Activity panel or UI actions configured in AI Agent Studio for in-product workflow execution and monitoring.
AI Agents Involved
The workflow employs specialized AI agents that analyze grouped task data to identify trends, root causes, and generate structured, actionable recommendations. These agents must be activated within AI Agent Studio for the workflow to function.
Benefits for ServiceNow Customers
- Enables proactive identification of recurring task issues to reduce downtime.
- Improves problem resolution efficiency through AI-generated recommendations.
- Supports data-driven decision-making by summarizing large volumes of task data.
- Flexible configuration allows tailoring analysis to specific organizational needs.
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.
Role masking
Required role: sn_uxc_gen_ai.platform_ai_analyze_trnds.
Agentic workflows and their AI agents use role masking to determine which users can access them. Ones installed with Now Assist applications have specific roles that come included with the application. If you select Users with specific roles for user access, you must configure the security controls to 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.
|
Config field |
Description |
Default value |
|---|---|---|
|
Post Analysis Actions |
List of possible follow-up actions a user can take before the agentic workflow completes. |
|
|
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 |
|
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. |
|
|
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
- Navigate to .
- Select Analyze task trends.
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
| 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.