Accidentally Deleted Application Menu

jmiskey
Kilo Sage

I am working on a scoped application.   I have been pushing the application and updates from Dev up to Test using the "Make App available to other instances" feature, under System Applications -> Applications -> Develop.   So after we do updates, we follow those steps, then go into Test, and apply the updates.   Once everything is approved, we will follow the same steps to push it from Dev to Prod.

I was trying to clean up some Application Menu items in Dev, and it appears that I somehow accidentally deleted the whole Application Menu for this scoped application.   Is there any way to get it back/undelete it?

I could re-create it in Dev without too much trouble, but my concern is that the new Application Menu will have a different sys_id, so the next time I push the update to Test, it will double-up and create a new Application menu (so it will exist out there twice).   Is this what will happen?   If so, should it then just be safe to delete the old one?

Or is there a better way of doing this (like if I could undo my deletion!).

Thanks

1 ACCEPTED SOLUTION

Navigate to system application files->Search for application file name->Open the record and click on related link "Restore file"



Please let me know the outcome.


View solution in original post

9 REPLIES 9

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hello Joe,



Please refer below link on how to restore delete records.


Using the Restore Deleted Records plugin to retrieve lost data


Pradeep,



That's a great idea.   Unfortunately, it does not look like we have that Plugin activated, and from what I read it only works on deletions that happened AFTER it has been activated.   So it doesn't look like I will be able to take advantage of that feature in this case.


Hello Joe,



Thanks for the update. I'm not sure if the plugin is enabled by default on the new release. Do you see module deleted records on your instance?


I do not know if it is the same thing, or something else, but if I go to System Definition -> Deleted Records, it shows my the deleted record.   It shows:


Table name: sys_app_application


Display value: Telecom



So I undeleted the record.   It now shows my Application menu, but I do not see any of the Modules listed underneath it that were there before.