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.

Scope does not have write access to table u_

PLakin1
Tera Guru

I'm attempting to utilize a Jira Integration Hub Subflow to update a custom form from a custom table and I'm receiving the following error:

Scope does not have write access to table u_maintenance_task

 

I've checked the table and read and write are checked for all scopes on the table settings page. I've also attempted to create a new Restricted Caller Access Privilege entry, but I've never done this before and I'm having difficulty setting the table values as it's forcing me to select a specific document instead of the entirety of the table.

PLakin1_0-1676918688970.png

I'm doing research on how this works, but any assistance to help speed this up is very much appreciated.

 

Thank you!

1 ACCEPTED SOLUTION
6 REPLIES 6

This does seem related. Marking helpful for now. I'm not seeing a change in the error though; I'll keep tinkering and will mark as the solution if it resolves it. Thanks!

Abhay, this definitely seems relevant, but I can't seem to make it work. Is there something obvious I'm missing?

PLakin1_0-1676921020378.pngPLakin1_1-1676921038528.png

 

Abhay, this was indeed the solution. However, I had to perform the following command to make it work due to a wonderful caching issue I discovered from this other community thread:

Scope does not have write access to table sc_cat_i... - ServiceNow Community

 

Here is the background script I used:

GlideTableManager.invalidateTable("u_maintenance_task");
GlideCacheManager.flushTable("u_maintenance_task");