Script include version deletion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2019 10:39 PM
Hi All,
I am currently debugging a script include. This is making me update the record everytime,so a lot of versions are getting created.
I don't want all the version displayed in the script include record(version section at the bottom of the page).
Is there a way to remove all the previous versions and keep just the latest one?
The delete option is disabled.
Any help is appreciated.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2019 10:54 PM
Hello,
Deleting versions in not a best practice which is recommended by servicenow.
Refer the following link for the same:
https://docs.servicenow.com/bundle/jakarta-application-development/page/build/system-update-sets/concept/system-update-sets.html?title=Using_Update_Sets
https://docs.servicenow.com/bundle/geneva-custom-application-development/page/build/system_update_sets/task/t_DeleteAnUpdateSet.html
https://docs.servicenow.com/bundle/geneva-custom-application-development/page/build/system_update_sets/task/t_DeleteAnUpdateEntry.html
Mark it as correct/helpful if this helps you
Thank you!
Regards,
Shubham
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2019 10:57 PM
Hi,
I suggest you remove the Versions related list from your form instead of deleting them as it is not a best practice recommendation. It would be useful at a point where you want to restore back to one of your old version. Additionally once you move the update to a different instance, i believe it just maintains the latest version only.
Thanks!