<h2>Analyze Task Trends Troubleshoot Guide</h2><br/><div style="overflow-x:auto"><style type="text/css"><!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } </style><div class="ns-kb-css-body-editor-container"> <div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">Analyze Task Trends – Common Issues and Fixes</span></div> <br /> <div><span style="font-family: verdana, geneva; font-size: 10pt;">Common Issues:</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">1. Deprecated Workflow – "Analyze Incident Trends"</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">2. No Clustered Data Found</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">3. Wrong Grouping Skill Configuration</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">4. Workflow Not Triggered from Now Assist Panel</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">5. Irrelevant or Repeated Results</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">6. Limited Groups Analyzed / Token Limitation</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">7. Workflow Configuration Errors</span></div> <br /> <div><span style="font-family: verdana, geneva; font-size: 10pt;">-------------------------------------------------------------------</span></div> <br /> <div><span style="font-family: verdana, geneva; font-size: 10pt;">1. Deprecated Workflow – "Analyze Incident Trends"</span></div> <br /> <div><span style="font-family: verdana, geneva; font-size: 10pt;">Issue:</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">The "Analyze Incident Trends" workflow (from the AI Agents Platform Usecase plugin) returns errors such as:</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">- "I couldn't analyze as I didn't have the required resources."</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">- "There are no available agents to perform the full grouped incident analysis."</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">- "No specialized agents currently available."</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">- Missing tool: organize_general_knowledge</span></div> <br /> <div><span style="font-family: verdana, geneva; font-size: 10pt;">Cause:</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">The "Analyze Incident Trends" workflow and the "Incident Trends Analyzer" agent belong to the older AI Agents Platform Usecase plugin (v1.0.5). This plugin is no longer supported, and the workflows have been migrated to the Platform AI Agents and Skills plugin.</span></div> <br /> <div><span style="font-family: verdana, geneva; font-size: 10pt;">Resolution:</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">1. Stop using the "Analyze Incident Trends" workflow.</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">2. Install or upgrade to the Platform AI Agents and Skills plugin (v11.0.0 or later) and use the "Analyze Task Trends" workflow instead, which supports incident, case, HR case, and other task tables.</span></div> <br /> <div><span style="font-family: verdana, geneva; font-size: 10pt;">Reference:</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">- Upgrading AI Agents Platform Usecase Plugin: <a href="/kb?id=kb_article_view&sys_kb_id=4eb33cdc936036147c79b36d6cba1076">https://support.servicenow.com/kb?id=kb_article_view&sys_kb_id=4eb33cdc936036147c79b36d6cba1076</a></span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">- Analyze Task Trends documentation: <a href="https://www.servicenow.com/docs/r/intelligent-experiences/incident-trends.html">https://www.servicenow.com/docs/r/intelligent-experiences/incident-trends.html</a></span></div> <br /> <div><span style="font-family: verdana, geneva; font-size: 10pt;">-------------------------------------------------------------------</span></div> <br /> <div><span style="font-family: verdana, geneva; font-size: 10pt;">2. No Clustered Data Found</span></div> <br /> <div><span style="font-family: verdana, geneva; font-size: 10pt;">Issue:</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">The workflow returns:</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">- "No clustered data found"</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">- "I couldn't analyze as I didn't have the required resources."</span></div> <br /> <div><span style="font-family: verdana, geneva; font-size: 10pt;">Cause:</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">The Group Action Framework (GAF) is a prerequisite for the Analyze Task Trends workflow. GAF clusters task records into groups. If GAF has not been configured or the offline flow has not been executed, no clustered data will be available for analysis.</span></div> <br /> <div><span style="font-family: verdana, geneva; font-size: 10pt;">Resolution:</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">1. Ensure GAF is configured for the "GAF ITSM Grouping" skill. Refer to the GAF setup documentation: <a href="https://www.servicenow.com/docs/r/yokohama/intelligent-experiences/configure-gaf.html">https://www.servicenow.com/docs/r/yokohama/intelligent-experiences/configure-gaf.html</a></span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">2. Navigate to the sysauto_script table and execute the "GAF - Run Offline Flow" scheduled job.</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">3. Ensure the instance has a sufficient volume of records for clustering.</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">4. After running the offline flow, navigate to the ml_solution table to verify that the clustering solution has started. Once completed, groups will be created in the sn_gaf_record_group and sn_gaf_record_group_detail tables.</span></div> <br /> <div><span style="font-family: verdana, geneva; font-size: 10pt;">Note:</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">The Analyze Task Trends workflow does not create groups on its own. GAF grouping must be run separately, either manually or via the scheduled job. If the clustering solution fails, contact the Group-Action Framework team as they own the grouping script.</span></div> <br /> <div><span style="font-family: verdana, geneva; font-size: 10pt;">-------------------------------------------------------------------</span></div> <br /> <div><span style="font-family: verdana, geneva; font-size: 10pt;">3. Wrong Grouping Skill Configuration</span></div> <br /> <div><span style="font-family: verdana, geneva; font-size: 10pt;">Issue:</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">The workflow returns "No clustered data found" even though GAF data exists on the instance. Typically, data has been trained using a different grouping skill such as "GAF Suggested Steps ITSM Grouping" instead of the expected "GAF ITSM Grouping."</span></div> <br /> <div><span style="font-family: verdana, geneva; font-size: 10pt;">Cause:</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">The Analyze Task Trends workflow uses the "GAF ITSM Grouping" skill configuration to query clustered records. If data was trained using a different skill (e.g., "GAF Suggested Steps ITSM Grouping," owned by the ITSM team for Next Best Action), the workflow will not find any matching clusters.</span></div> <br /> <div><span style="font-family: verdana, geneva; font-size: 10pt;">Resolution:</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">Train the data using the correct skill configuration:</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">1. Navigate to the sn_nowassist_skill_config table and verify the "GAF ITSM Grouping" skill is active.</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">2. Create an offline flow using the "GAF ITSM Grouping" skill and execute it.</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">3. Follow the same setup steps used for any other GAF skill. Refer to the documentation: <a href="https://www.servicenow.com/docs/r/yokohama/intelligent-experiences/configure-gaf.html">https://www.servicenow.com/docs/r/yokohama/intelligent-experiences/configure-gaf.html</a></span></div> <br /> <div><span style="font-family: verdana, geneva; font-size: 10pt;">Important:</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">Do not modify the OOB grouping skill ID in the script includes. Always train the data using the correct skill instead.</span></div> <br /> <div><span style="font-family: verdana, geneva; font-size: 10pt;">-------------------------------------------------------------------</span></div> <br /> <div><span style="font-family: verdana, geneva; font-size: 10pt;">4. Workflow Not Triggered from Now Assist Panel</span></div> <br /> <div><span style="font-family: verdana, geneva; font-size: 10pt;">Issue:</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">The Analyze Task Trends workflow functions correctly in the Playground but fails when triggered from the Now Assist Panel. The sn_aia_execution_plan shows the workflow as "Default VA workflow" instead of the actual discovered workflow, and the topic "TaskTrendAnalyser" is displayed with a "No clustered data found" message.</span></div> <br /> <div><span style="font-family: verdana, geneva; font-size: 10pt;">Cause:</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">This is a skill discovery issue. The Now Assist Panel was unable to properly identify and route to the correct AI agent and workflow.</span></div> <br /> <div><span style="font-family: verdana, geneva; font-size: 10pt;">Resolution:</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">1. Verify the skill applicability configuration for "Analyze Task Trends" in Now Assist Admin (NAA).</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">2. Ensure the AI agent "Issue trend analysis AI agent" is active and properly configured.</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">3. If the issue persists, create a case task for the Skill Discovery team (Dev-NowAssist-Skill Applicability and Execution) or AI Search team (Dev-Search Glide) to investigate further.</span></div> <br /> <div><span style="font-family: verdana, geneva; font-size: 10pt;">-------------------------------------------------------------------</span></div> <br /> <div><span style="font-family: verdana, geneva; font-size: 10pt;">5. Irrelevant or Repeated Results</span></div> <br /> <div><span style="font-family: verdana, geneva; font-size: 10pt;">Issue:</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">The workflow returns the same output regardless of the incident or record specified, or the results seem irrelevant to a specific incident.</span></div> <br /> <div><span style="font-family: verdana, geneva; font-size: 10pt;">Cause:</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">The Analyze Task Trends workflow is designed to analyze large sets of task records over a user-selected time range to identify recurring issues, root causes, trends, and actionable recommendations. It does not accept individual incident or task numbers as input and cannot return context tied to a specific record.</span></div> <br /> <div><span style="font-family: verdana, geneva; font-size: 10pt;">Resolution:</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">This is expected behavior. Use broader trend-based requests such as:</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">- "Analyze incident trends related to payment issues within the last two months"</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">- "Analyze case trends within the last month"</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">- "Analyze HR case trends with High Priority within the last two years"</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">- "Analyze incident and problem trends within the last two weeks"</span></div> <br /> <div><span style="font-family: verdana, geneva; font-size: 10pt;">Do not provide specific incident or task numbers as input. The workflow analyzes clusters generated from many records for trend analysis rather than analyzing individual records.</span></div> <br /> <div><span style="font-family: verdana, geneva; font-size: 10pt;">-------------------------------------------------------------------</span></div> <br /> <div><span style="font-family: verdana, geneva; font-size: 10pt;">6. Limited Groups Analyzed / Token Limitation</span></div> <br /> <div><span style="font-family: verdana, geneva; font-size: 10pt;">Issue:</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">The workflow analyzes only one or two groups instead of the expected number, or results appear incomplete.</span></div> <br /> <div><span style="font-family: verdana, geneva; font-size: 10pt;">Cause:</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">In older versions of the Platform AI Agents and Skills plugin (v10.5.x and earlier), an inbuilt token limit was enforced. This limited the number of groups processed based on available token capacity. When group sizes were large, only one or two groups could fit within the token limit.</span></div> <br /> <div><span style="font-family: verdana, geneva; font-size: 10pt;">Additionally, in older versions, the timestamp provided by the user in the utterance was not honored, resulting in the same trends regardless of the specified time range.</span></div> <br /> <div><span style="font-family: verdana, geneva; font-size: 10pt;">Resolution:</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">Upgrade to Platform AI Agents and Skills plugin v11.0.0 or later. The newer version includes:</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">- A chunking mechanism that ensures all top groups are analyzed by dividing the payload into smaller chunks and invoking the LLM in a loop.</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">- Support for multiple task tables (incident, problem, case, problem_task, and others).</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">- Timestamp-aware analysis that generates trends based on the time range specified by the user.</span></div> <br /> <div><span style="font-family: verdana, geneva; font-size: 10pt;">Reference:</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;"><a href="https://www.servicenow.com/docs/r/intelligent-experiences/incident-trends.html">https://www.servicenow.com/docs/r/intelligent-experiences/incident-trends.html</a></span></div> <br /> <div><span style="font-family: verdana, geneva; font-size: 10pt;">-------------------------------------------------------------------</span></div> <br /> <div><span style="font-family: verdana, geneva; font-size: 10pt;">7. Workflow Configuration Errors</span></div> <br /> <div><span style="font-family: verdana, geneva; font-size: 10pt;">Issue:</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">The workflow fails with errors such as "Retrieve and Generate Factual Data" tool not found, or the agent configuration appears incorrect.</span></div> <br /> <div><span style="font-family: verdana, geneva; font-size: 10pt;">Cause:</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">The workflow or agent configuration was modified or cloned incorrectly. Required tools are missing or misconfigured.</span></div> <br /> <div><span style="font-family: verdana, geneva; font-size: 10pt;">Resolution:</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">1. Verify the workflow configuration:</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">- Workflow: Analyze Task Trends</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">- Agent: Issue trend analysis AI agent</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">- Required tools: Get Use Case Config, Get SkillConfig Id, Get Time Gap, Compute Incident Trend Analysis</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">2. If using a cloned workflow, ensure it was cloned from "Analyze Task Trends" (Platform AI Agents and Skills scope), not from the deprecated "Analyze Incident Trends" (AI Agents Platform Usecase scope).</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">3. Navigate to the AI agent and verify all tools are listed under the Tools section.</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">4. Check the Define Access tab to ensure all required roles are assigned.</span></div> <br /> <div><span style="font-family: verdana, geneva; font-size: 10pt;">-------------------------------------------------------------------</span></div> <br /> <div><span style="font-family: verdana, geneva; font-size: 10pt;">Verification Steps</span></div> <br /> <div><span style="font-family: verdana, geneva; font-size: 10pt;">To verify that the workflow is executing successfully:</span></div> <br /> <div><span style="font-family: verdana, geneva; font-size: 10pt;">- Check sn_aia_execution_plan: The execution plan should show the correct workflow name and agent.</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">- Check sn_aia_execution_task: All execution tasks should complete without errors.</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">- Check sn_gaf_record_group: Verify that clustered groups exist for the specified time range and skill configuration.</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">- Check ml_solution: Confirm that the clustering solution has completed successfully.</span></div> <br /> <div><span style="font-family: verdana, geneva; font-size: 10pt;">If the workflow returns no results:</span></div> <br /> <div><span style="font-family: verdana, geneva; font-size: 10pt;">- Ensure GAF is configured and the offline flow has been executed.</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">- Verify the "GAF ITSM Grouping" skill is active and has trained data.</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">- Confirm the instance has sufficient records (2,000+) for meaningful clustering.</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">- Upgrade to Platform AI Agents and Skills v11.0.0 or later for the best experience.</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">- Ensure the required roles are assigned to the user to access incident, case, or other task data.</span></div> <div><span style="font-family: verdana, geneva; font-size: 10pt;">- Verify that all required roles are added in the Define Access tab for both the AI Agent and the Workflow.</span></div> </div> <span id="ns-kb-css-end-div-identifier" style="display: none; pointer-events: none;"></span></div></div>