Background Script accessing scoped table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2015 02:27 PM
I am having a problem access scoped tables from Background Scripts. I can create a new GlideRecord, but then it fails as soon as I try to call a method query(). Does anyone have a successful example on how to access a scoped application table with either global scope or application scope selectee in a Background Script?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2015 07:08 PM
Hi Wright,
What is the exact error you are getting. I'm assuming your table is denied to be accessed from the other scope. Here is the navigation steps to update the access settings so that the current table can be accessed from other scope.
In navigation filter type table.list->on the header right click and then configure->table->You should be able to see the application access settings. Make sure accessible from is selected "to all other scopes" and can read is checked.
http://wiki.servicenow.com/index.php?title=Application_Access_Settings#gsc.tab=0