ErrorAccess to api 'setValue(sn_gsm_vessel_incident.u_estimated_time_to_resolve)' from scope 'sn_cu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2024 04:51 AM
Hi All,
Please help me solve the above error. I find this knowledge article ERROR: "Access to api 'put(sn_customerservice_case.number)' from scope 'x_custom_scope' has been ref...
but not know how to solve this as we don't need any of these variable on the table.
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2024 05:04 AM
Hi @Ssinha4
The error message "Access to api 'setValue(sn_gsm_vessel_incident.u_estimated_time_to_resolve)' from scope 'sn_cu'" indicates that the script or process attempting to set the value of the u_estimated_time_to_resolve field on the sn_gsm_vessel_incident table is restricted due to cross-scope access controls in ServiceNow.
ServiceNow implements scoped applications, which means that scripts and other business logic are restricted to the scope in which they were created. Cross-scope access rules enforce security boundaries between applications.
To allow a script from one scope to access resources in another scope, you can configure cross-scope access in the application settings of the target scope.
- Navigate to: System Applications > All Available Applications > All.
- Find and Open the target application (e.g., sn_gsm).
- Go to Settings: In the application settings, you will find a section for cross-scope access.
- Allow Access: Add the calling scope (e.g., sn_cu) and the specific API or resource that should be accessible.
I hope my answer helps you to resolve your issue, if yes mark my answer as helpful & correct.
thank you
rajesh chopade