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

abhipraydj24
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!

 

Best regards,
Abhipray Jawanjal

 

2 REPLIES 2

Community Alums
Not applicable

Hi @abhipraydj24 ,

You need to check two things:

1) Open the table definition and go to the Application Access tab. Check the values for 'Accessible from' and the other fields (depending if you're reading, updating, etc).

2) Create a record in sys_scope_privilege:

  • source scope = the application the Flow is in. Check the Flow Properties
  • target scope = The scope the table is in. Check Application field in Table definition
  • target name = the form name you are trying to update (and where the error is reported on)

 

Hey Sandeep,

Thanks for the suggestions you provided earlier. Unfortunately, the solution didn't quite resolve the issue I'm facing with the caller access privilege in ServiceNow. Do you happen to know any other potential solutions or steps that might help troubleshoot this problem further? Your assistance is much appreciated!