How can I add a record to a specified update set using script?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2022 11:40 PM
Hi team,
How can we add records to an update set which we specify using script?
I saw couple of community post related to GlideUpdateManager2() used for adding records to current update set. How can we add the same to a different update set ?
I have the update set created by a REST Api call in the dev instance. I want to add a few artifacts which got created via BR after the REST call to the update set which created initially. How can I achieve this.
- 2,916 Views

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2022 02:38 AM
Hello Arun,
You can take the reference from "Add to Update Set Utility" and once you installed the update set present on the provided link, you will get UI action "Add to Update Set" to add the records in an update set on click on the UI action.
After you installed this update set, there will be script include also installed "addToUpdateSetUtils" which you can use in your code to call the method "addToUpdateSet" inside script include.
Hope it helps.
Please Mark ✅ Correct/helpful, if applicable, Thanks!!
Regards
Sulabh Garg
Regards
Sulabh Garg

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2022 11:23 AM
Regards
Sulabh Garg

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2023 08:45 AM
Hi there,
Did you resolve the issue? Can you share your solution to that?
BR