Post-ServiceNow Xanadu Upgrade Risk Scores Ratings Issue

Mike K
Tera Expert

After the recent upgrade of ServiceNow, it has been observed that the Risk Score Rating in the Risk Assessment has ceased to compute. This article aims to analyze the issue, its potential impacts, and suggest a path towards resolution.

The following fields have no computed values:

  • inherent_computed_risk_score
  • control_computed_effectiveness_score
  • residual_computed_risk_score
  • summary_inherent_risk_score
  • summary_control_effectiveness_score
  • summary_residual_risk_score

The issue was resolved by updating the dictionary of the above fields to use Calculated value utilizing the OOB script include RiskAssessmentScoringUtilsBase and pass the function name to the Calculation script. Here is how:

  1. Browse to Dictionary or right click on the field from within the user interface form.
  2. Open the Advance view if not used already
  3. Click on the Calculated Value tab
  4. Check off Calculated check box
  5. The following has the function name to call for each field
    1. calculateInherentRiskScore
    2. calculateControlEffectivenessScore
    3. calculateResidualRiskScore
    4. calculateSummaryInherentRiskScore
    5. calculateSummaryControlEffectivenessScore
    6. calculateSummaryResidualRiskScore
 
 

 

(function calculatedFieldValue(current)
   
    // Add your code here
    { return new sn_risk_advanced.RiskAssessmentScoringUtilsBase().COPY_AND_PASTE_FROM_STEP5(current); // return the calculated value

})(current);

 

 
Hope this information help in resolving the missing computed scores for risk assessments

 

2 REPLIES 2

ThineshT
ServiceNow Employee
ServiceNow Employee

Hi @Mike K ,

 

When we checked from our end, seems even without any change that you have proposed, everything with respect to scoring was working fine for us.

Are you still facing this issue, if yes can you raise a case task for our engineering team to check?

 

Thanks,

Thinesh

Product Manager

Servicenow.

Community Alums
Not applicable

Hi @Mike K ,

Even in Yokohama, it works for me.