The Zurich release has arrived! Interested in new features and functionalities? Click here for more

mcastoe
ServiceNow Employee
ServiceNow Employee

Enterprise Architecture does not yet have an indicator that consider the counts of non-approved technology technical debts by a given business application.  This article provides an example of how you might create your own (until such time as the product includes one out of the box).

Steps:

  1. In EA Workspace, go to the Configuration section and select Application Indicators.
    mcastoe_0-1749146847830.png
  2.  Create a new Indicator record.
  3. Create your indicator with a Minimize direction and select Custom Script for the data source.
  4. Add the indicator to the Default Application Scoring Profile (or whichever profile you are using)
  5. Regenerate Indicator scores and verify your results
    mcastoe_0-1749147464483.png

     

  6. If desired, add this new indicator to the Bubble Chart configuration.

Here is an example of a script you might use For educational Purpose only...

// there are no dates to apply here, we are taking a per app snapshot count
var results = {};
var applications = [];
var agr = new GlideRecord('cmdb_ci_business_app');
agr.query();
while(agr.next()){
var tdgr = new GlideRecord('sn_apm_trm_standards_technical_debt');
tdgr.addQuery('business_application', agr.sys_id);
tdgr.query();
var appInfo = {};
appInfo.appId = ''+agr.sys_id;
appInfo.weight = tdgr.getRowCount();
applications.push(appInfo);
}
results.applications = applications;
results;
 

 

Version history
Last update:
‎06-05-2025 11:19 AM
Updated by:
Contributors