'Function getGlideObject is not allowed' error message on Business Rule
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2023 01:48 AM
I'm wanting to the update the following field on a request based on the time a request is created:
I'm wanting to update the value via the following Business Rule:
However, when I create a new request and save it, I get the following error message and the field is not populating:
I was just wondering if somebody could explain why the error message is occurring and what I need to do prevent it from re-occurring.
I've created the Business Rule and new field under a different scope
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2023 04:29 AM
I've removed the 'Read Only' part. When I save the value, it comes up with 'Function getGlideObject is not allowed in scope x_lbg_mr'

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2023 04:30 AM
Can you share a screenshot with all tabs on the dictionary of the field?
Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2023 04:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2023 03:53 AM
Hi @matthew_hughes ,
Assuming the business rule is created on the same table where that field is present. In that case please update the value like below:
current.u_shift_opened_in = 'shift_1';// please use proper value with which u want to update the field with
Mark my answer helpful & accepted if it helps you resolve your issue.
Thanks,
Danish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2023 04:27 AM
I've tried that, but I'm still getting the error message of: