--- title: Create a definition for your store application description: Create a definition for your store app to define the licensing metrics you want collected. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/application-development/create-definition-store-apps.html release: australia topic_type: task last_updated: "2026-03-12" reading_time_minutes: 2 breadcrumb: [Custom licensing for ISV applications, Application sharing, Administer your apps, Deploying applications, Building applications] --- # Create a definition for your store application 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://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/platform-administration/types-subscription-v2.md). ## Procedure 1. Navigate to **All** > **System Applications** > **My 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.
| 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. |
| 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. |