Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

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

Harsh Vardhan
Giga Patron

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
ServiceNow Employee

Try out User Criteria Diagnostics to troubleshoot what may be issue