- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2024 09:43 AM
Hello. I need some suggestion or guidance on how best to overcome the following error. I am wondering what would be the solution to resolve this error.
Error in business rule <SP_SPNT_SN_INT_ManualConfigRITM> : JavaException: com.glide.script.fencing.MethodNotAllowedException: Function getGlideRecord is not allowed in scope x_sap_intidn
This is from a business rule with the below code. The trigger to run are Item is Sailpoint Access Request - Service Catalog, state changes to closed complete and stage changes to completed before update.
-------------------------------
Cross Scope Privileges configured
Source Scope Target Scope Target Name Operation Status
SailPoint IdN for Service Catalog SailPoint for Service Desk sc_req_item Write Allowed
SailPoint IdN for Service Catalog SailPoint for Service Desk sc_request Read Allowed
SailPoint IdN for Service Catalog SailPoint for Service Desk sc_request Create Allowed
SailPoint IdN for Service Catalog SailPoint for Service Desk sc_req_item Read Allowed
SailPoint IdN for Service Catalog SailPoint for Service Desk sc_req_item Create Allowed
SailPoint IdN for Service Catalog SailPoint for Service Desk sc_request Write Allowed
SailPoint IdN for Service Catalog SailPoint for Service Desk SP_SPNT_SN_INT_ManualConfigRITM Execute API Allowed
SailPoint IdN for Service Catalog Global SP_SPNT_SN_INT_ManualConfigRITM Execute API Allowed
SailPoint for Service Desk Global SP_SPNT_SN_INT_ManualConfigRITM Execute API Allowed
SailPoint for Service Desk SailPoint IdN for Service Catalog SP_SPNT_SN_INT_ManualConfigRITM Execute API Allowed
------------------------
-------------------------------
Solved! Go to Solution.
- Labels:
-
Architect
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2024 07:28 AM
Just sharing the code I am able to successfully code to make it work.
-------------

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2024 01:11 PM
This runs on the Requested Item [sc_req_item], correct?
Have you checked that "parent" is the correct field? Not that this should be "request" instead? I would expect:
reqRecord.addQuery('sys_id', current.request);
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2024 01:43 PM
I tried to make some change as indicated in the below code and it is still not passing through the addition code to an existing REQ. I was building a new RITM record using an existing catalog item and then adding it to an existing REQ. This is what I am trying to do in the below code. I am not sure if my response will be correct; I say yes that this runs off existing RITM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2024 01:55 PM
I updated this part of the code after you asked to check the parent.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2024 06:30 AM
@Mark Roethof Good morning. I managed to make the code run successfully and the below does not seem to create the new ritm and associate it to an existing REQ. Is there some suggestion you can provide?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2024 03:04 PM
I did another change in the code as indicate below and I got the succeeding error.
Error in business rule <SP_SPNT_SN_INT_ManualConfigRITM> : com.glide.script.fencing.access.ScopeAccessNotGrantedException: create access to sc_request not granted
-----------------------