logo

NJP

Control your update set : Delete and revert

Import · Nov 11, 2017 · article

Hello ,

Do you ever get tired of removing a customer update from an update set and you realize after that the script you just removed still has as current version this update set ?

This was always painful for me to do an extra action to revert my script to the previous update set .That's why I took the time to develop a new UI action : Delete and Revert .

Throught this UI action these scenarios are now possible :

1-If we remove the script from the update set which is the current version of the script , this one will be deleted from the update set and will be also reverted to the previous version .

If no previous version is found the script will be catched on default .

2- if we delete the script from an update set which is not the current version , then our script will be deleted from this update set and no revert action will be done .

* I added a new field 'active' to the update versions table that allows us to know if the script is still catched into the update set .

I attached the update set that contains all my modifications .

Regards,

Zaynab

View original source

https://www.servicenow.com/community/developer-articles/control-your-update-set-delete-and-revert/ta-p/2295858