Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

Move a custom app from one pdi to another

joshmorris
Tera Guru

How do I move a custom app I have been working on from one pdi to another?

3 REPLIES 3

Dr Atul G- LNG
Tera Patron

This is the documentation for application sharing


Custom Apps are having either one of the  2 modes/status on an instance. 

1. In Develop mode ==> When you open the studio, it the app comes over there; most cases it will be in DEVELOP mode and this will be on your DEV instance most probably. The application record will be created under sys_app table.

If you go to System Applications > My Company Applications. The application will listed as "Edit in Studio"

2. In Installed mode ==> this is when you develop an app on your DEV instance; Publish it to application repository and then installed on your TEST/UAT instance and hen install them on your PROD instance. It will be listed as an application which can be "installed"  these instances. The application record will be created on sys_store_app table.

If you go to System Applications > My Company Applications. The application will be listed as "Installed"

Manage application entitlements from the application repository

Regulated market custom application entitlement management

3. If you need to publish an app from development instance to another instance( as like it is fully developed and ready to install on a TEST instance/PROD instance), you should do it via "Publish an application to the application repository". In this case, the app will be in available to be installed on all instances except the DEV instance

This app will remain on Develop mode on DEV instance after installation and that is he expected workflow as the app should only be developed in DEV instance.

Please check this doc for the same for Publish an application to the application repository

You can do further developments on your dev instance and continue to publish the new versions to the app repository.
Doc on how to install the application ==> Install an application from the application repository
New patch releases will be available on the Drop down for all instances within your organisation.

4. If you need the app to be in "Develop" mode (**assuming you want to continue development on other instance for some reason), you need to take an export of your app as update set and import it in the target instance.

Please check the documentation for the same. Publish an application to an Update Set

In this case, get the app downloaded to an Update set. Save an update set as a local XML file

Retrieve this update-set on another DEV instance and commit it.
This will maintain the DEVELOP mode for that app on this instance and editable from Studio.

5. Option 4 can also be used as to keep a backup of your custom app locally.
When you want to clone over to your DEV instance from PROD and there is a risk of getting partial development overwritten, then you can use the option to take he backup==> clone over==> commit the update-set back.

6. Recommended way to get the app into TEST/UAT/PROD will be via Publish to app repository ( point 3).

7. Point 4 also can used to transfer applications to PROD, but that not a recommended approach as Point 3 is treated as the cleanest one. 

*************************************************************************************************************
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************

Ankur Bawiskar
Tera Patron

@joshmorris

It's easy task, everything is listed in this KB

How to move Custom Scoped Applications between instances  

Best option

-> publish that app to update set, XML of the update set gets downloaded

-> import that XML and commit that update set after previewing

also check this

Publish an application to an Update Set

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

Tanushree Maiti
Tera Sage

Refer this KB/post links:

How to move Custom Scoped Applications between instances  

https://www.servicenow.com/community/itsm-forum/custom-application/m-p/3358396

 

 

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin: