kb_knowledge gliderecord query

Ganesh Aher
Kilo Contributor

When I am running gliderecord query i am not able to see some articles.

I want to query the articles ,

why artiles are not visible?

error shown: 

Source descriptor is empty while recording access for scope Workplace Safety Management: no thrown error
Security restricted: Read operation on scope 'Workplace Safety Management' from scope 'Global' was denied because the source could not be found. Please contact the application admin.

find_real_file.png

1 ACCEPTED SOLUTION

Aman Kumar S
Kilo Patron

Hey,

This looks like cross scope privilege issue.

Follow below community post to gain better understanding.

Read operation on table 'sn_doc_task' from scope 'Human Resources: Service Portal' was denied.

 

Feel free to mark correct, If I answered your query.

Will be helpful for future visitors looking for similar questions 🙂

Best Regards
Aman Kumar

View solution in original post

7 REPLIES 7

Allen Andreas
Administrator
Administrator

Hi,

Feel free to share the script you're using as well, but it would appear you're trying to see records on a scoped app from Global?

If the scoped app doesn't allow access from Global (see it's table configuration settings), then you'll see errors like what has been presented.

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

I am querying kb_knowledge table which is in global scope from global scope only.

this is my script

 

 var gr = new GlideRecord("kb_knowledge");
   // gr.addQuery("u_featurecheckbox", true);
    gr.query();
while(gr.next()){

gs.print(gr.number);

}

Hi,

Thanks! 🙂

You have knowledge articles on that table from the Workplace Safety Management scope I would imagine, right?

If you navigate to list view for your knowledge articles and look at the application, I'm assuming you'll see some from that scope. That is why you see other numbers printing, but when it comes to that specific app, it's not accessible from Global, so you see the error.

Please review my reply above for looking into making that app accessible to global.

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Hi,

Glad you found a correct answer that works for you.

If any of my replies above were helpful in explaining what is happening, please mark them as such.

Thanks and take care! 🙂


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!