- 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 12:13 PM
Hello Ycd,
Can you please check if you are able to reproduce this on any other instance? If yes please let me know the STR and I will take a look.
Thanks,
Pradeep Sharma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-01-2018 01:31 PM
Hi Pradeed, I am able to reproduce the issue in my personal instance.
I am new to the communities, could you please let me know how I could share the instance and login details with you?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-01-2018 02:21 PM
Hello YCD,
You can ONLY share instance URL and steps to reproduce so that I can take a look.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-01-2018 02:28 PM
Ok sure,
Here are the details,
1 https://dev42601.service-now.com
2 Username and password :
3 Query to run on script background:
var gr30 = new GlideRecord('x_137749_farmers_c_certificate');
gr30.query();
while (gr30.next()) {
gr30.dns = "something"; // Scoped variable 'dns' - update does not work
//gr30.active = true; // Global variable 'active' - update works
gr30.update();
gs.info(gr30.number);
}