How to convert global application to scoped?

Cory Miller
Giga Expert

Hello,

Is there some was to export an entire non-scoped application all at once without exporting the XML for each table, form, etc.?

We need to zBoot our instance and reload everything.I want to know how to export our application that was developed in global and re-import into the zBooted instance.

I began development of an application before scoped app creator and before the "studio" was available but finished development in Fuji.

This is a critical application and I have 2 major issues.

First, the application shows up in Studio and I can edit it but cannot publish it. Here is the message received when trying:

"This application is not publishable. It is not a custom application."

How do I get this out and back in is the first problem.

Is there a way to convert it to a scoped app without having to rebuild from scratch?

I would copy and paste into a scoped app if that would work somehow, just trying to avoid a complete rebuild as it took 9 months the first time.

(it's a big app)

Second, we have another department that wants to use this same exact application.

Is there a way to make a "copy" of it on the same instance and keep them separate?

The answer I keep getting is I have to build 2 apps entirely from scratch as scoped.

I believe there has to be a simpler way. Looking for help.

Thank you!

Note: We are zBooting Fuji and upgrading directly to Helsinki

2 REPLIES 2

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hello Cory,



To convert your solution from a global scoped application to a unique scope, you will need to recreate your application and move the logic over manually:


  • System Applications > Applications > Create New
  • From there, recreate your table names, scripts, etc. and copy/paste the logic from your existing app/update set over to the new record

Managing Applications - ServiceNow Wiki


tjk_001
Kilo Contributor

Not sure if this is still applicable but I believe there is solution to atleast a part of the problem. One way to do this especially for workflows and catalog items

 

1) Create the app in scoped application as an admin with the option that says from legacy apps.

2) Go to the catalog item/workflows in question and right click and use "Move to application" option

3) Choose you application and refresh and the items in question will be in a scoped app.

I believe it works the other way too. I have had success with catalog items and workflows but this should work with tables too.

 

find_real_file.png

 

find_real_file.png