- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2019 10:31 AM
I am trying to push a single record from the rm_story table to my current update set using code. I want to use the following code:
When I put this code in a Business Rule it works great and logs that umResult = True. However, when I put this same exact code in a Fix Script or Script Include (both of which are in the same Scope and Application as the Business Rule), it does not work and logs that umResult = False.
1) Why is this happening?
2) Is there any documentation for GlideUpdateManager2()? I can't find anything. I would like to see the base code for this.
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2019 10:42 AM
So I figured out the problem with the Fix Script. Apparently, you have to set the field Unloadable to true in order for it to create updates. Once I checked this, the Fix Script started working.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2019 10:36 AM
GlideUpdateManager2() is used to push record in your update set.
Please see use of GlideUpdateManager2() in below KB article
https://hi.service-now.com/kb_view.do?sysparm_article=KB0622391
REgards,
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2019 10:42 AM
So I figured out the problem with the Fix Script. Apparently, you have to set the field Unloadable to true in order for it to create updates. Once I checked this, the Fix Script started working.