Uninstalling Applications

colint
Kilo Contributor

Hi Guys,

 

I am not having much luck with uninstalling a custom application.

 

Background:

I created a custom application and published it to an update set. I than installed it on another instance by applying the update set.

 

To uninstall the application I attempted backing out the update set, however I got the error message Data Policy Exception: Name is mandatory.

 

The update set has been marked as backed out however the tables etc are still present in the test instance.

 

Questions:

Is this the right way to 'uninstall' an application?

 

I would have expected that backing out an update set would result in the system being returned to its previous state.

 

Experimented:

So being the curious person I am I tried deleting all the stuff which should have been deleted manually via the tables table etc however the update set now has issues when I try to apply it again. Something about duplicate tables. But I already deleted it.......

 

Any thoughts?

 

Thanks in advance,

Colin

1 ACCEPTED SOLUTION

robpickering
ServiceNow Employee
ServiceNow Employee

I would probably add:


  • If you need to make changes, make a new update set to apply those changes.
  • If you wish to re-publish an Application, you can, you just need to go to System Applications > Custom Applications, open your custom application on your development system, click "Publish to Update Set", then promote that update set to your Production Instance

View solution in original post

9 REPLIES 9

Thanks for the help guys, sounds like:


  • When deploying an application if we want to get rid of it we can delete it
  • We should only delete an application if we are really sure we never will use it as we will not be able to reapply the same update set to get it back
  • Backing out update sets is a bad idea


Have I missed anything?


robpickering
ServiceNow Employee
ServiceNow Employee

I would probably add:


  • If you need to make changes, make a new update set to apply those changes.
  • If you wish to re-publish an Application, you can, you just need to go to System Applications > Custom Applications, open your custom application on your development system, click "Publish to Update Set", then promote that update set to your Production Instance

Oh good idea.



Oh and one more point:


robpickering
ServiceNow Employee
ServiceNow Employee

Nice!   Yep, you shouldn't have a problem.



Colin, if my assistance worked for you, I'd appreciate you marking one of my answers as correct.   Thank you!


Thanks for the help!