We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

HOW TO HIDE KB ARTICLE IN AI SEARCH

MattiaD97748969
Tera Contributor

Hi all,

I have an AI Search configuration for KB_knowledge, and the workflow is published.

Several articles have user criteria based on the user’s role.
In the AI Search results, all articles are displayed, but when a user clicks Read more, they receive the message:

"You do not have sufficient privileges to access this knowledge item."

How can I modify the results so that articles with user criteria are hidden from users who do not meet those criteria?

2 REPLIES 2

Nayan ArchX
Tera Guru

Hi,

 

Your issue happens because AI Search is not enforcing User Criteria during search.

Fix it by:

  1. Enabling content access filtering on the KB Search Source

  2. Ensuring the Search Profile enforces access

  3. Rebuilding the index

If my response has resolved your query, please consider giving it a thumbs up ‌‌ and marking it as the correct answer‌‌!

 

 

 

Thanks

Nayan Patel

IT ServiceNow Consult, ServiceNow ArchX

If my response has resolved your query, please mark it Helpful by giving it a thumbs up and Accept the Solution

Hi Naya,
what do you mean by “Content access filtering”?
I don’t see any option to create a script that checks user roles.

Could you please explain how this process works?