Saving off 'in progress' update sets for a clone

ljschwaberow
Giga Expert

Our DEV instance is in great need of a clone but I have multiple update sets that are 'in progress' and I have more work to do on all of them. I have read up on Saving Customizations in a single XML file on the Wiki. However, I have to set this the update sets to complete to do this. Can I just export the update sets, clone the instance, import the update sets and then create new update sets from there? Shouldn't it capture everything that I've currently done plus the new changes? More specifically each of these update sets is a new Change Request form. I am still new to export/importing update sets and I don't want to lose all the work I've done.  

7 REPLIES 7

solutioningnow
Giga Guru

Hi,



The best way is to complete all your "In Progress" update sets and take the backup to XML using "Export to XML" related list. Once you clone the instance, import all your update set. Create new update set and capture the changes.



Please mark answer as correct/helpful if it was really helpful



Regards,


Solutioner


Logo.png


Enhance Knowledge NOW@ www.solutioningnow.com


http://www.solutioningnow.com/


Hi,



I have some active (in-progress) update sets in my sub-prod. if I clone my Sub-prod instance with Prod, what will happen to customization captured in those update set.



I'm assuming that cloning will erase all the customization captured in these active updateset (infact these active updateset will be removed from instance completely)   - am i right or worng, please provide details.


if I was right, could you please tell what is the best practice to save the those customization.


Jacob_Andersen
ServiceNow Employee
ServiceNow Employee

I do this all of the time.   The way that I do this is I open the Export to XML ui action, change the following fields:



Name: Export to XML (in progress)


Condition: current.state != 'complete'



and then do an 'insert and stay'.   Now you're able to export your update sets w/o having to complete them first!


Hi Jacob, which Export to XML action do you edit - for what table? I am thinking Update Set [sys_update_set]



I recently had an issue where I lost an in progress update set and this would be very helpful. Any additional details you could add would be helpful so this doesn't happen again.