How to cross scope "Scripted REST Service"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2025 08:35 PM
Hi All,
I request you please help me on below concern
We have Scripted REST Service(GET)- sending Incident data when request comes, Some times Successfully Data passing , some times going to else part & sending error "No data found" to other party.
When I checked Transaction logs, "Origin Application" showing different scopes for same 'Scripted REST Service",
some times "Customer Service",
Some times "Global,",
Some times "Human Resource",
some time "Guided Tour"
is this Problem ? why for same Scripted REST Service" different scopes showing in "Origin Application" columns. ? sometimes successful, some times Error Message ?
If this is because of lacking of crossscoping ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2025 08:49 PM
Scripted REST API is created in which scope?
it should not happen.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2025 10:20 PM - edited 08-20-2025 10:28 PM
Scripted REST API in Global scope.
Not sure why it is behaving like that. please let me know how can I fix it please.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2025 10:37 PM
and what is that scripted REST API doing?
what incoming request is coming and what response it's giving?
Why your Scripted REST API is in HR scope when you are dealing with INC?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2025 07:05 AM
not in HR, Scripted REST API in Global .
we don't have any script include and flows, it's simple GlideRecord record in Scripted REST API.
users from other tool they will search with User ID, scripted rest api will return user related incidents details that's it.
but not understanidg why different scopes showing under "Origin Application" column.