File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
Server-Side Components/Background Scripts/Get Risk and Controls in Project Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 1+ In ServiceNow Risk Assessment Project, we can assess multiple risks on a single page or UI.
2+ But for each individual risks, we need different Controls to be associated that can mitigate the risk.
3+ So, there is direct relationship between Risk and Control in ServiceNow along with Risk and Risk Assessment Project.
4+ Two m2m tables are - 'sn_risk_m2m_risk_control' and 'sn_risk_advanced_m2m_risk_assessment_project_risk' respectively.
5+
6+ Now organisations need to check how many Controls involved in a Risk Assessment Project for each risk.
7+ To achieve that, we can utilize Risk Assessment Instance Response records where Control Assessment data is stored.
8+ This Control Assessment data is updated whenever we associate Controls with Risks during Risk Assessment and fill out the factors.
9+
10+ In the Background script, if we pass one sys_id of Risk Assessment Project record, that should print Risks and Controls for each risk like this-
11+ <img width =" 767 " height =" 356 " alt =" image " src =" https://github.com/user-attachments/assets/56e2a719-b767-456d-959d-e84457d31c44 " />
12+
13+ Actual Risk Assessment Project on workspace looks like this-
14+
15+ <img width =" 922 " height =" 412 " alt =" image " src =" https://github.com/user-attachments/assets/c102d444-922b-44ec-9cb4-4a4ae13db4c7 " />
16+
17+ <img width =" 920 " height =" 416 " alt =" image " src =" https://github.com/user-attachments/assets/48f8d6b1-bb25-4d5c-875c-ca49bd6660a8 " />
18+
19+ Here, at the left we can select individual risks and inside of Control Assessment for that risk, controls can be added and assessed.
You can’t perform that action at this time.
0 commit comments