Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

Knowledge article optimization not working as expected

Deepika54
Tera Contributor

Hi experts,

 

For knowledge article optimization, we see that the results are showing old dates. we have ran the 2 jobs called article optimization-now assist and scripted but still no results are coming. Can anyone please help where we are missing. Thanx in advance.

 

Deepika54_0-1787590665023.png

 

1 ACCEPTED SOLUTION

MaryG
ServiceNow Employee

Hi @Deepika54 
This sounds like a documented issue — worth checking KB3045479 ("Knowledge Center: Article Optimization does not show any data") on Now Support. The stale/missing results usually come down to the scheduled job running but not writing current results, for one of a few reasons:

1. Scheduled job query conditions
Confirm the job's query includes both your Knowledge Base filter and the OOB filters — specifically workflow_state!=retired^sys_class_name!=kb_knowledge_block. If the query conditions are off, the job runs but returns nothing to write.

2. Permissions of the user running the job
The user context executing the job needs write access to the target knowledge base(s). If it doesn't, the scan can complete without populating results.

3. Verify the results table directly
Check the kb_assist_scan_result table directly after running the job — that's where results land before surfacing on the Article Optimization dashboard. If the table is populating but the dashboard shows old dates, the issue is display/refresh; if the table itself isn't updating, it's the job query or permissions above.


I'd start by confirming the job query conditions and the executing user's KB write access, then re-run and check kb_assist_scan_result to confirm whether new records are being written.

View solution in original post

11 REPLIES 11

MaryG
ServiceNow Employee

@ylakshmi231 

That TRACELOOP_PULL ... Unauthorized error changes the diagnosis.

At this point I would stop troubleshooting Knowledge Base contributor roles or the Knowledge Block condition. An Unauthorized response means the Now Assist/API call itself is being rejected, and having the admin role does not automatically authorize that service call.

Please check Now Assist Admin → Now Assist Skills → Platform → Knowledge and confirm that Article Optimization is activated and has a valid active configuration/model associated with it.

Once confirmed, run the Article Optimization – Now Assist scheduled job again and check the logs.

If you still receive the same TRACELOOP_PULL ... Unauthorized error after confirming the skill is activated, I would open a Now Support case and include that exact error. At that point this is more likely an entitlement/service authentication issue than a Knowledge Base permission issue.

Also, I would not worry about Knowledge Block not appearing in the condition picker yet. That would not cause an Unauthorized API response.

ylakshmi231
Tera Contributor

@MaryG  Thanks for the response