ErrorAccess to api 'setValue(sn_gsm_vessel_incident.u_estimated_time_to_resolve)' from scope 'sn_cu

Ssinha4
Tera Contributor

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.

 

1 REPLY 1

Rajesh Chopade1
Mega Sage

 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.

  1. Navigate to: System Applications > All Available Applications > All.
  2. Find and Open the target application (e.g., sn_gsm).
  3. Go to Settings: In the application settings, you will find a section for cross-scope access.
  4. 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