Use PDIs? Take our 5-minute survey to help shape the PDI roadmap.

Risk statements, Risk, Entities - Overview tab is showing Risk not assessed so far

SUSMITHA KRISHN
Tera Contributor

Hi Team,

In ServiceNow Advanced Risk, In the Risk Workspace I have Risk Statement, Risk, and Entity forms. I have risks that have already completed risk assessment and moved to the Monitor state. When a risk assessment is completed and the risk moves to Monitor state, the Overview tab on the Risk, Risk Statement, and Entity forms should display updated risk scores based on the risk assessment. However, even for risks that have transitioned to the Monitor state, the Overview tab is still showing "Risk not assessed so far" and is not reflecting the updated risk scores.

Could someone help me understand what the issue might be and how to resolve it? Screenshots are attached for reference.

 


Risk:

SUSMITHAKRISHN_0-1787205144920.png

Risk Statement:

SUSMITHAKRISHN_1-1787205192125.png

Entity:

SUSMITHAKRISHN_2-1787205244695.png


Thank you!

6 REPLIES 6

Hi @SUSMITHA KRISHN ,

If it is not customized then can you verify whether this script returns and values with array in background script.

var rams = [];
    if (gs.getProperty('sn_risk_advanced.migrate_to_advanced_risk')) {
        var obj;
        var gr = new GlideAggregate('sn_risk_advanced_risk_assessment_instance');
        gr.addQuery('risk', Risk Record Sysid);
        gr.addQuery('state', 'IN', '7');
        gr.groupBy('risk_assessment_methodology');
        gr.query();
        while (gr.next()) {
           
            obj = {};
            obj.id = gr.risk_assessment_methodology.toString();
            obj.label = gr.risk_assessment_methodology.name.toString();
            var sectionlabels = new sn_risk_advanced.RiskAssessmentMethodologyUtils().getAssessmentScoreLabelsForRam(obj.id);
            obj.sectionlabels = sectionlabels;
            rams.push(obj);
        }
    }
    gs.print(JSON.stringify(rams));


If this response helps you mark it as accepted solution and give it a thumbs up 👍.
Thanks & Regards
Naga Chandan

*** Script: [{"id":"f5e3777ee4a143101c9edb4f2adcf932","label":"Enterprise Risk Management"}]

@NagaChandaE the script is returning correct values only