Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Get Incidents GAF data is complaining there is no any cluster

Bhuvana Venkate
Tera Contributor
I am working on implementing 'Analyze incident trends' agentic workflow and running into this error/message:
Get Incidents GAF data
Inputs
Output Fields : No clustered data found.
 
Task or prompt I am using is : Identify top 2 recurring incident issues in the last 14 days based on similar short descriptions.
 
Has anyone used this workflow? How to debug this issue for GAF cluster? Kindly guide.
 
TIA!
 
 
7 REPLIES 7

BrianNuernberg
Tera Contributor

Running into the same issue, would love to know if anyone else has found a solution. 

rpriyadarshy
Giga Guru

Hi

 

I assume you have >500 Incidents in table for analysis.

 

Also GAF framework for Incident table is set. If not follow the steps as below.- https://www.servicenow.com/docs/bundle/yokohama-intelligent-experiences/page/administer/now-assist-a...

 

Also check table for any groups created- 

GAF record group [sn_gaf_record_group]

GAF record group detail [sn_gaf_record_group_detail]

GAF action strategy result [sn_gaf_action_strategy_result]

 

Try to test with a more open prompt  first then more specific - analyze incident trends

 

Regards

RP

Bhuvana Venkate
Tera Contributor

I used the steps mentioned here:

Configure Group Action Framework
https://www.servicenow.com/docs/bundle/yokohama-intelligent-experiences/page/administer/now-assist-a...

 

How I have the GAF - Run Offline Flow scheduled job for

Group skill: GAF ITSM grouping

Action skill : GAF ITSM action strategy

 

This scheduled job runs and it is creating Incident clusters but erroring at 70% where it is giving the error message : Action strategy job trigger failed.

 

When I load test data I am running this 'GAF - Run Offline Flow' to get uptodate clustering which works for the agentic workflow 'analyze incident trends'

 

Now troubleshooting the ' Action strategy job trigger failed.' error.

Anyone has seen this error? If you have troubleshooting steps or solution then please share.

Bhuvana Venkate
Tera Contributor

"GAF - Run Offline Flow" Job is running and populating the 2 tables:

GAF record group [sn_gaf_record_group]

GAF record group detail [sn_gaf_record_group_detail]

 

It is failing with the error :Action strategy job trigger failed.' and I don't see data in 

GAF action strategy result [sn_gaf_action_strategy_result]

 

I am not able to find the issue at this point. 

 

When I run this in scripts - background with my skills id
:new sn_gaf.GAFUtils().runOfflineFlow(groupSkillId + "", topicSkillId + "", actionSkillId + "");

 

I get errors like this :

sn_gaf (GroupCapabilityExecutorUtils): GroupCapabilityExecutorUtils: Submitting training job for pipeline with label: incident_clustering_1753468655678
 
sn_ti_admin (TaskIntelAdminModelLoggingHelperUtil): [1753468656141] TaskIntelAdminModelMonitoringUtil:start process (sys.scripts extended logging)
Script execution error: Script Identifier: sys_script.d953346477c241105c974a783c5a997b.script, Error Description: Cannot read property "model_status" from undefined, Script ES Level: 180
Evaluator: com.glide.script.RhinoEcmaError: Cannot read property "model_status" from undefined
   script : Line(199) column(0)
 
 Stack trace:
at sys_script_include.6a20bb8f77f501105c974a783c5a994c.script:199
at sys_script_include.6a20bb8f77f501105c974a783c5a994c.script:16
at sys_script.d953346477c241105c974a783c5a997b.script:2 (executeRule)
at sys_script.d953346477c241105c974a783c5a997b.script:3
at sys_script_include.a31ae1ba773302103f075cea5b5a992c.script:133 (runNaginiPipelineForGrouping)
at sys_script_include.a31ae1ba773302103f075cea5b5a992c.script:148 (execute)
at OneApiScriptEvaluator.OneApiScriptEvaluator:1
at Process Automation.66ecf09053241210aec2ddeeff7b12e2:45 (execute)
at Process Automation.66ecf09053241210aec2ddeeff7b12e2:71
at sys_script_include.4ab8bdb9771412103f075cea5b5a99b1.script:51 (runOfflineFlow)
at null.null.script:1

 

Has anyone encountered this error?