GlideUpdateSet.set() to make an update set the current update set does not work in business rule
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-23-2024 05:02 AM
we are trying to send an api call from one instance to another and create a bussiness rule and make it current on the reciveing instance(thye api call sends the user name relevent for the update set and the bussiness rule impersonates to this user and then uses the GlideUpdateSet.set() api function to make the update set current)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-23-2024 05:09 AM
what's the business requirement you want to achieve?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-23-2024 06:36 AM
We created a button on our PROD instance.
We want this button to create a new Update Set on the DEV instance. It works FINE.
However, we don't know how to make this new update set as the current one for the user who clicked the button.
Our code does not work from a Business rule but if we run in in the background - scripts it works.
How does the functions GlideUpdateSet.get() and GlideUpdateSet.set() work?
In which tables the data of the current update set is stored?