- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2022 06:21 AM
When Running a Flow I'm getting: Scope does not have write access to table x_g_dh5_common_dat_facility. I'm running my flow as "System User" and the table that I'm updating to has this configuration.
I'm not sure why I'm still getting this error? "Scope does not have write access to table x_g_dh5_common_dat_facility"
Lisa
Solved! Go to Solution.
- Labels:
-
Scoped App Development

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2022 09:05 PM
Was the table always set with those permissions, or did you modify them (check a box that wasn't checked originally)? I have seen this occur when permissions are added after creation, due to a caching issue. Typically this will either "resolve itself" with sufficient time, which seems to be random, or can often be resolved by running these commands in a background script to hasten the process (global scope).
GlideTableManager.invalidateTable(<table_name>);
GlideCacheManager.flushTable(<table_name>);
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0695145
I hope this helps!
If this was helpful, or correct, please be kind and mark the answer appropriately.
Michael Jones - Proud member of the GlideFast Consulting Team!
Michael D. Jones
Proud member of the GlideFast Consulting Team!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2022 09:05 PM
Was the table always set with those permissions, or did you modify them (check a box that wasn't checked originally)? I have seen this occur when permissions are added after creation, due to a caching issue. Typically this will either "resolve itself" with sufficient time, which seems to be random, or can often be resolved by running these commands in a background script to hasten the process (global scope).
GlideTableManager.invalidateTable(<table_name>);
GlideCacheManager.flushTable(<table_name>);
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0695145
I hope this helps!
If this was helpful, or correct, please be kind and mark the answer appropriately.
Michael Jones - Proud member of the GlideFast Consulting Team!
Michael D. Jones
Proud member of the GlideFast Consulting Team!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2022 08:25 AM
Yes, those permissions were added after creation of the table and you were correct, it finally started to work!