The CreatorCon Call for Content is officially open! Get started here.

Aaron Bennett
ServiceNow Employee
ServiceNow Employee

How to create a dependency on a ServiceNow Store App that is not listed as a plugin

When setting dependencies on applications to be submitted in Store it is sometimes necessary to define a specific scoped application and version on which your application should depend. This article will cover the simple process to create a dependency on any App delivered in Store.

Note - The app you are setting the dependency for must be installed to your instance for this to work

 

Rule of Thumb:

To determine which procedure you need is simple: 

  1. If the plugin is available for install in the Platform Release (Orlando, Paris, Quebec, etc.) - use the standard procedure to set a plugin dependency. Use this article to review the concept and set a plugin dependency:
Manually and automatically capture dependencies in scoped applications

 

      2. If the app is delivered through the ServiceNow Store, use the following modified procedure to set the dependency: 

 

Procedure:

In your application record, browse to the related lists and the Dependencies tab. Right click the filter and open the tab in a new window:

 

AaronBennett_0-1675314629331.png

 

 Create a new Package Dependency record

 

AaronBennett_1-1675314680973.png

 

Browse the available packages on your instance using 'name' to filter

 

AaronBennett_2-1675314774526.png

 

Search and Select the Store Application, this can be ServiceNow or another 3rd party app

 

AaronBennett_3-1675314886526.png

 

Verify the correct dependency and version number is set and submit

 

AaronBennett_4-1675314970351.png

 

Submit the new record

 

AaronBennett_5-1675315026993.png

 

This will create a logical check to ensure Store App dependencies are present before installation will proceed.

Comments
Hetang Modi
Tera Contributor

Is this method the same for creating dependencies of two custom apps, that is, create a dependency of a custom child app on a custom parent app, given that both the apps are present on the same instance while publishing the app?

Saikiran Guduri
ServiceNow Employee
ServiceNow Employee

Yes @Hetang Modi  that is correct understanding.!

Version history
Last update:
‎02-01-2023 09:20 PM
Updated by:
Contributors