Resolving Error: "Scope lacks create access to table oauth_entity" in ServiceNow Flow Designer

GaneshBendkule
Tera Contributor

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!

2 REPLIES 2

Hasan6
ServiceNow Employee
ServiceNow Employee

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.

Hasan6_0-1701094859358.png

 

Hope this helps.

Best

Hasan

GaneshBendkule
Tera Contributor

Hi Hasan6, Thanks for reply. but still facing same issue