HELP!! - Accidentally deleted an application instead of a module

Dan Tolgyesi1
Tera Expert

Hello,

I have acceidentally deleted the Facilities Application, does anyone know how this can be restored.

Luckily it is in the Dev instance so not the end of the world but would be useful if anyone knows how to get it back?

Thanks
Dan

3 REPLIES 3

Uncle Rob
Kilo Patron

Hey Dan,

Under the System Definition application is a module called Deleted Records. You might be able to find it in there, and if so, there should be an option to restore it.

I'm not sure if deleting an Application cascades throught he modules, or if the modules just float out in NeverNeverLand. If the delete cascades, its very likely the modules are in the Deleted Records table too.


Jim Coyne
Kilo Patron

Unfortunately the Deleted Records will not have a record of the deletion. The modules will actually remain, but will have the application field cleared so they do not show up anywhere.

In order to re-create the application, you can either just create a new one from scratch, or export the Application record from your Production instance (XML) and import into Dev. Then you can just go to Modules under System Definition and set the Application field on the appropriate modules. Just to keep the instances in synch, I would probably export/import the application record.

Just be careful of what Update Set you have selected as the changes will be tracked.


CapaJC
ServiceNow Employee
ServiceNow Employee

And if your app and modules are completely identical in /dev, you can also export all modules for that application and import into production. That would prevent you from having to set the Application field on the modules in prod.

You can't export from a related list, so you'd go to the list of Modules in /dev and filter for those where application is your app, then export to XML from the list.

But what Jim wrote certainly works. And may be easier depending on your comfort level.