Resolving Error: "Scope lacks create access to table oauth_entity" in ServiceNow Flow Designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2023 05:22 AM
I'm encountering an issue in ServiceNow's Flow Designer where I'm attempting to access the "oauth_entity" table, which resides in the global scope, from my application scope. However, I'm consistently facing the following error message: "Scope does not have create access to table oauth_entity."
I'm seeking guidance on resolving this error. My objective is to enable access to the "oauth_entity" table from my application scope within ServiceNow using Flow Designer. The specific error message indicates a lack of create access, but I'm unsure about the necessary steps to rectify this issue.
Any advice or insights into adjusting the permissions or configurations, particularly concerning granting access from an application scope to the "oauth_entity" table located in the global scope, would be greatly appreciated.
Thank you for your assistance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2023 06:21 AM
Hi Ganesh,
ServiceNow scope rules mean you can't create a table in the global scope.
But that does not mean you're out of options.
1. Create the flow in global. Sounds impractical, go for option 2
2. Create a script include in global where you create the record. Make sure the script include is callable by all scopes, and call this script include in your flow.
Hope this helps.
Best
Hasan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2023 10:39 PM
Hi Hasan6, Thanks for reply. but still facing same issue