- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2018 11:56 AM
I have a custom table in a scoped app.
The table was extended from Task table.
I have a server side glide query script in which I am trying to update the 'Active' field on desired records.
It works fine.
However, in the same script, when I try to update a field that I newly created on the table (not a field from Task table), I get the exception below.
-----
Cannot disable before query business rule(s) across scope boundaries (current scope: rhino.global table scope: x_fain_company_cer)
---
My table Application-scope has been set as below.
Solved! Go to Solution.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2018 04:43 PM
If that's the case then I strongly recommend reaching out to customer support on this one. Sorry.
Thanks,
Pradeep Sharma

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2018 04:27 PM
Thanks for the details. I did the exact steps in my instance and was not able to reproduce the issue that you have in your instance. If possible I would recommend you to take the backup of your work and raise an instance request.
Thanks,
Pradeep Sharma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2018 04:38 PM
Thanks Pradeep,
The issue is actually occurring in our DEV & TEST instances as well.
I may want to raise a HI support request to see what is going on.
Thank you for your help,
Yogesh

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2018 04:43 PM
If that's the case then I strongly recommend reaching out to customer support on this one. Sorry.
Thanks,
Pradeep Sharma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2018 07:33 PM
No problem. Thank you for the help Pradeep.
Regards,
Yogesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2018 09:25 PM
Hi Pradeep,
I got a reply from ServiceNow support. They figured out that a BR (On Display) was conflicting with the update. This was happening for all fields (not just scoped app fields).
They suggested to suppress the BR using gr30.setWorkflow(false); just before the .update(); api call.
That worked.
Hope this will help someone.
Thank you for suggesting ServiceNow support's help,
Yogesh