---
sourceDocument: Yokohama Build or modify applications
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/yokohama/application-development

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama Build or modify applications

ft:clusterId :

    - cadev

bundleId :

    - cadev

workflow :

    - Development, Data, and Analytics


---

# Create a definition for your store application

# Create a definition for your store application {#ariaid-title1}

* Release version: Yokohama
* 
* Updated January 30, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

Create a definition for your store app to define the licensing metrics you want
collected.

## Before you begin

Role required: admin or developer

## About this task

Create a definition for an application in development or for an application you have
already published. However, if you assign a definition to a published application,
you will have to re-publish it with the new definition. Additionally, you can only
assign one definition to an application.  
Note:  
You can only create a definition for capacity subscriptions. See [Types of subscriptions in Subscription Management](https://www.servicenow.com/docs/access?context=types-subscription-v2&version=yokohama&pubname=yokohama-platform-administration&ft:locale=en-US).

## Procedure

1. Navigate to AllSystem ApplicationsMy Company Applications.
2. Select the application.
3. Under the Subscription Management section, set Subscription Model to Capacity.
4. Select the search icon next to License Definition.  
   The Application License Definitions pop-up loads.
5. Select New.
6. Fill in the Application License Definition record.  
   {#create-definition-store-apps__table_vlt_mhd_zlb__entry__2}

   | Field | Description |
   |-|-|
   | Name | Name of the definition. |
   | Description | Brief summary of the definition. |
   | Metric Type | Type of collected metric. |
   | Frequency | How often metrics are collected. |
   | Performance Validated | Check the box if you have tested the performance of the definition. |
   | Table | Table used to determine usage. Note: Only lists tables associated with the current application. |
   | Query | Criteria to use on the table. |
   | Aggregation | Type of aggregation. * Set to Count to count all records. * Set to Count (Distinct) to count unique records only. {#create-definition-store-apps__ul_ixp_dkd_zlb} |
   | Aggregation Column | Table column used for aggregation. Note: Column must be indexed to be aggregated. |
   | Group By | Columns in the table to group the data by. Max of 3. Warning: Case sensitive. |
   [ ]

   {#create-definition-store-apps__table_vlt_mhd_zlb}
7. Select Submit.  
   Your new definition appears in the Application License Definitions pop-up.
8. Select the definition to apply it to the application.

## What to do next

Create a new version of the application and publish it to the ServiceNow Store. While your application is in review, any changes to the definition may cause
subsequent versions of your application to be rejected. Once the application is
approved and published to the ServiceNow Store, the definition becomes
read-only.

To change the definition of an application already on the ServiceNow Store,
you must create a new definition, submit a new version of the application, and go
through the review process.

*[\>]: and then


