Show upcoming TPM risk only for software och hardware with lifecycle data in EA Workspace?

Tomas Broman
Tera Contributor

Hi, 
I populated the TPM discovered technologies and lifecycles and can now see the lifecycle timelines for applications in EA workspace (we have application services created and related to business applications, servers with ACC agents installed and use SAM Pro for license management).
I now wonder it there is a way filter out the applications and hardware that does not have any lifecycle information from this view? The problem is that all sw & hw that is missing the information generates a High risk score which makes application services and business applications to have the same score even if they should not.

TomasBroman_0-1741603260626.png

 

1 ACCEPTED SOLUTION

mcastoe
ServiceNow Employee
ServiceNow Employee

Hi @Tomas Broman ,

Out of the box, we assume that a technology associated to an application with no lifecycle information constitutes a high risk because you have no visibility.  To modify the behavior, you would have to do some configuration.

The calculation is done by the script include, TPMTechnologyRisk.  Do not modify this script include.  It will cause skipped records and therefore is a Customization.  Instead, create your own Script Include.  When you do this you cna extend the out of the box script include mentioned above so you get all the same functions/methods.   Then you will want to override the _calculateTechnologyRisk function and instead of assigning a 100 when no lifecycles exist, assign a different value according to how you wish it to behave.  

Next you will want to create a new Scheduled Job that calls your script.  the out of the box job is, Populate Technology Lifecycle Risks, and you can use it as a model for your new scheduled job.

 

hope this helps,

mark 

View solution in original post

3 REPLIES 3

mcastoe
ServiceNow Employee
ServiceNow Employee

Hi @Tomas Broman ,

Out of the box, we assume that a technology associated to an application with no lifecycle information constitutes a high risk because you have no visibility.  To modify the behavior, you would have to do some configuration.

The calculation is done by the script include, TPMTechnologyRisk.  Do not modify this script include.  It will cause skipped records and therefore is a Customization.  Instead, create your own Script Include.  When you do this you cna extend the out of the box script include mentioned above so you get all the same functions/methods.   Then you will want to override the _calculateTechnologyRisk function and instead of assigning a 100 when no lifecycles exist, assign a different value according to how you wish it to behave.  

Next you will want to create a new Scheduled Job that calls your script.  the out of the box job is, Populate Technology Lifecycle Risks, and you can use it as a model for your new scheduled job.

 

hope this helps,

mark 

Thank you! Will try this out.

Hi Mark, what are some prerequisites for TPM populating dependent SW/HW & Lifecycles, namely are those ?.

  1. All CIs must have ENVIRONMENT=PRODUCTION set

  2. Fiscal Calendar record is created on Platform

  3. Application Services must be Mapped. ( because i have one occasion where SMapping not in place, rather used Dynamic CI Group, but TPM shows some days, and won't show other days :).

 

Please advise.

regards,

Amit.