accesss to api 'setAbortAction' from scope '' has been refused due to the api's cross=scope access
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2024 03:45 AM
I am getting an error "accesss to api 'setAbortAction' from scope '' has been refused due to the api's cross=scope access policy"
When I write current.setAbortAction(true) in a scoped BR. I have tried creating a cross scope wrt. this article: setAbortAction is not working in Scoped applicatio... - ServiceNow Community, also checked Scope Application Cross-scope access policy - ServiceNow Community
but no luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2024 04:01 AM
you need to Give cross-scope access to any of the APIs which does not have cross-scope access.
Navigate to Application cross-scope access:
Create a New record in your application scope
Source Scope and Application should be your custom Application.
Thanks
dgarad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2024 05:15 AM
not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2024 05:19 AM
please check the below link.
Thanks
dgarad