---
sourceDocument: Brazil Enterprise Architecture
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/application-portfolio-management

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Enterprise Architecture

ft:clusterId :

    - appportman

bundleId :

    - appportman

workflow :

    - Technology


---

# Technical debt calculation

# Technical debt calculation {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of Technical debt calculation

Technical debt records in ServiceNow help identify products used within business applications that are either not approved in the Technology Risk Management (TRM) or are running unapproved versions.
These records enable you to pinpoint conformance gaps and plan remediation efforts effectively.
Show full answer Show less  

## Prerequisites

To access technical debt records, ensure you have installed the Technology Lifecycle Management (snapmtpm) Store application and enabled the SAM Foundation (com.snc.sams) plugin.

## Configurable Conditions

You can customize which conditions the scheduled job uses to generate technical debt records. At least one condition must remain active to create these records. Configuration details are available within the system under the technical debt settings.

## Technical Debt Levels and Conditions

Technical debt is categorized into two levels depending on specific conditions:

* **Level 1:** Created when a product in a business application is either not listed in the TRM product list or is listed but its Production phase is not approved.
* **Level 2:** Generated only if the property `snapmtrm.isproductlifecycletechdebtenabled` is set to true. This level applies when a product is on the TRM list with an approved Production phase but lacks associated TRM product lifecycles, or when version and edition criteria based on the Software Discovery Model are not met as detailed below.

## Level 2 Detailed Conditions

* **Case 1 (Full version not empty):** A technical debt record is created if no TRM lifecycle matches a fully specified version, approved production phase, and current date within lifecycle dates.
* **Case 2 (Full version empty):** A technical debt record is created if no TRM lifecycle matches the version and edition exactly or by wildcard, with an approved production phase and valid date range.

## Edition-Specific Technical Debt

Level 2 technical debt records capture both version and edition, treating different editions of the same version as separate technical debt instances. This granularity helps organizations track and remediate technical debt precisely by product edition.  
Technical debt records identify products used in business applications that aren't approved in the TRM or that use unapproved versions. View technical debt records to understand conformance gaps and plan remediation.

## Prerequisites {#eaw-trm-technical-debt-calc__section_vhr_2hh_jkc}

To view technical debt records, you need the Technology Lifecycle Management (sn_apm_tpm) Store application and the SAM Foundation (com.snc.sams) plugin.{#eaw-trm-technical-debt-calc__eaw-trm-technical-debt-calc-prereq-1}

## Configurable conditions {#eaw-trm-technical-debt-calc__section_whr_2hh_jkc}

You can select which conditions the scheduled job uses to create technical debt records. At least one condition must remain selected. For configuration steps, see [Configure technical debt settings](https://servicenow-prod.fluidtopics.net/UR0EzwLITH56iBnGbzsixA "Configure whether the server is part of a technical debt record's identity and select which reasons the scheduled job uses to create technical debt.").{#eaw-trm-technical-debt-calc__eaw-trm-technical-debt-calc-config-1}

## Technical debt levels {#eaw-trm-technical-debt-calc__section_xhr_2hh_jkc}

The system creates technical debt records at two levels when specific conditions are met. Level 2 checks occur only when the
sn_apm_trm.is_product_life_cycle_tech_debt_enabled property is set to <kbd class="ph userinput">true</kbd>.{#eaw-trm-technical-debt-calc__eaw-trm-technical-debt-calc-levels-1}

**Level 1 conditions**{#eaw-trm-technical-debt-calc__eaw-trm-technical-debt-calc-levels-2}

The system creates a Level 1 technical debt record when either of the following conditions is true:{#eaw-trm-technical-debt-calc__eaw-trm-technical-debt-calc-levels-3}

* A product is associated with a business application but is not part of the TRM product list.
* A product is associated with a business application and is part of the TRM product list, but the Production phase is not approved.

{#eaw-trm-technical-debt-calc__ul_level1}

**Level 2 conditions**{#eaw-trm-technical-debt-calc__eaw-trm-technical-debt-calc-levels-4}

The system creates a Level 2 technical debt record when either of the following conditions is true:{#eaw-trm-technical-debt-calc__eaw-trm-technical-debt-calc-levels-5}

* A product is associated with a business application, is part of the TRM product list, has an approved Production phase, but has no associated TRM product lifecycles.
* A product meets the criteria in the following cases.

{#eaw-trm-technical-debt-calc__ul_level2}

**Case 1: Full version is not empty**{#eaw-trm-technical-debt-calc__eaw-trm-technical-debt-calc-case1}

When the full version field in the Software Discovery Model \[cmdb_sam_sw_discovery_model\] table is not empty, the system creates a technical debt record. This occurs if no TRM product lifecycle meets all of the following criteria:{#eaw-trm-technical-debt-calc__eaw-trm-technical-debt-calc-case1-desc}

* The TRM phase is approved for production.
* The TRM product phase is approved for production.
* The version matches the full version or wildcard pattern in the Software Discovery Model \[cmdb_sam_sw_discovery_model\] table.
* The current date falls between the phase start date and phase end date.

{#eaw-trm-technical-debt-calc__ul_case1}

**Case 2: Full version is empty**{#eaw-trm-technical-debt-calc__eaw-trm-technical-debt-calc-case2}

When the full version field in the Software Discovery Model \[cmdb_sam_sw_discovery_model\] table is empty, the system creates a technical debt record. This occurs if no TRM product lifecycle meets all of the following criteria:{#eaw-trm-technical-debt-calc__eaw-trm-technical-debt-calc-case2-desc}

* The TRM phase is approved for production.
* The TRM product phase is approved for production.
* The version matches (exact or wildcard) the version in the Software Discovery Model \[cmdb_sam_sw_discovery_model\] table.
* The edition matches the edition in the Software Discovery Model \[cmdb_sam_sw_discovery_model\] table.
* The current date falls between the phase start date and phase end date.
{#eaw-trm-technical-debt-calc__ul_case2}

## Edition-specific technical debt {#eaw-trm-technical-debt-calc__section_yhr_2hh_jkc}

A Level 2 technical debt record can be created from a TRM product lifecycle that is defined by both version and edition. The technical debt record captures the edition along with the version. The edition is part of the record identity.
A debt for version X, edition A is a separate record from a debt for version X, edition B.{#eaw-trm-technical-debt-calc__eaw-trm-technical-debt-calc-edition-1}
**Related concepts**   

* [Technical debt settings](https://servicenow-prod.fluidtopics.net/o8pDx2B5coF0boARkCHDlQ "Control which server and reason criteria the scheduled job uses to create TRM technical debt records.")  
**Related reference**   

* [TRM technical debt states and transitions](https://servicenow-prod.fluidtopics.net/gagEVaUCPyGscjporpJodA "A TRM technical debt record persists across scheduled job runs and moves between Active, Resolved, and Archived states instead of being deleted and re-created.")
* [Governing TRM product fields](https://servicenow-prod.fluidtopics.net/DovxXznF8PIEFlcIxlLnBw "The TLM Technology Lifecycle [sn_apm_tpm_technology_lifecycle] table includes fields that link a discovered technology to the TRM product and product lifecycle that govern its obsolescence status.")

