Risk statements, Risk, Entities - Overview tab is showing Risk not assessed so far
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday - last edited yesterday
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:
Risk Statement:
Entity:
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
6 hours ago
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
6 hours ago
*** Script: [{"id":"f5e3777ee4a143101c9edb4f2adcf932","label":"Enterprise Risk Management"}]
@NagaChandaE the script is returning correct values only
