Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

User Criteria for knowledge management "KBKnowledge().canRead(current) returns false"

Woz
Tera Contributor

Hello,

I have just implemented Knowledge v3. Everything is working in my two subprod environments but when I move to UAT and PAT the scrip "KBKnowledge().canRead(current) " is returning false.

I have added a can contribute UC which names my test user.

My test user has knowledge and knowledge_admin

 

Is there a system property to turn on user criteria for knowledge management? Are there any pre-requisites for UC to work and KBKnowledge().canRead(current) to return true?

 

Warren 

3 REPLIES 3

hvrdhn88
Giga Patron

Woz
Tera Contributor

Hi thanks for the response, the issue is with KBKnowledge().canRead(current) returning false though. If I I assign it the variable  it will still be setting answer to false

Sarup Paul
ServiceNow Employee

Try out User Criteria Diagnostics to troubleshoot what may be issue