The CreatorCon Call for Content is officially open! Get started here.

When does kb_uc_can_read_mtom have no user criteria for a kb?

TR Vishwanath
Kilo Contributor

For some knowledge basis even though the UI shows "can read" user criteria configured, querying kb_uc_can_read_mtom using the table API returns an empty array. For other knowledge bases the api returns a list of user criteria. 
What is the reason the API returns an empty list of criteria from this table for some knowledge bases?

5 REPLIES 5

Community Alums
Not applicable

HI @TR Vishwanath ,

Using the field sys_class_name returned by the API call "/api/now/table/kb_knowledge/sys_id", you simply make an additional API call to "/api/now/table/sys_class_name/sys_id" for the Knowledge article content.

Mark my answer correct & Helpful, if Applicable.

Thanks,
Sandeep

hi Sandeep I am not asking about the knowledge article content - I wanted to know what can_read user criteria are configured for the knowledge base using the API. The kb_uc_can_read_mtom table is returning an empty array for this knowledge base so asking for why the API is returning no results for this case.

Community Alums
Not applicable

Ohk i understand now !!

@TR Vishwanath ,

Here is what you want to know :https://community.servicenow.com/community?id=community_question&sys_id=591f9a89dbb92c10fb115583ca96...

Mark my answer correct & Helpful, if Applicable.

Thanks,
Sandeep

hi Sandeep is there a reason why kb_uc_can_read_mtom table returns an empty result for this case?