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

see which roles are in the knowledge base for can contribute. give all the roles to ur account and run it as you are executing it manually

ylakshmi231
Tera Contributor

i tried everything. still it is not working. i get logs error saying, "TRACELOOP_PULL: API error: "error":"Unauthorized"" . whenever i manually execute scheduled job

ylakshmi231
Tera Contributor

even i m having admin role

 

ylakshmi231
Tera Contributor

can someone please help

ylakshmi231
Tera Contributor

ylakshmi231_0-1787812833540.png

Im unable add knowledge block in condition as it is not available