ServiceNow Error: Create operation from scope 'rhino.global' has been refused due to the table's cross-scope access policy
ServiceNow Error: Create operation from scope 'rhino.global' has been refused due to the table's cross-scope access policy
Sometimes if encountering an issue in background script or fix script, move the code into a script include defined within the application but accessible from all application scopes, and call the script include from there
example - background script:
script include:
Resolution:
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0727180
Resolution
Enable the 'Can Create' option for the 'x_<custom_table>'
- Navigate to System Definition > Tables
- Open the record for the custom table.
- In the Application Access section, check the box for 'Can create'
Additional Information
Please review the documentation below as well:
In the Application Access section, define the scope protection for the table. For more information, see Application access settings.
Can create
Select the check box to allow script objects from other application scopes to create records in this table. This option offers runtime protection. For example, a script in another application can insert a new record in this table. This option is available only when the Can read check box is selected. lear the check box to prevent script objects from other application scopes from creating records in this table.
Comments
Post a Comment