'Save' button on 'Risk Workspace' unable to save inherent risk assessment responses entered by user

Abhinandan Pati
Giga Guru

Hello Community,

As shown in the below image I have an issue with the 'SAVE' button on 'risk-assessment-main' page of 'Risk Workspace'. 'Save' button on inherent risk assessment page is unable to save responses of factors  that are defined for Risk Assessment Methodology.

But same functionality works in the native UI of ServiceNow. We have this issue only in Risk Workspace. We can view the responses entered using native UI but we can not save the risk assessment responses using Risk Workspace UI.

I tried to debug this issue by checking in below tables but could not find the configuration of 'Save' button. 

  1. UX Client Script: sys_ux_client_script
  2. UX Page Registry: sys_ux_page_registry
  3. UX App Routes: sys_ux_app_route
  4. UX App Configurations: sys_ux_app_config
  5. UX Screen: sys_ux_screen
  6. UX Macroponent Definition: sys_ux_macroponent
  7. UX Page Properties: sys_ux_page_property

Is '/api/sn_risk_advanced/riskasmntapi/saveFactorResponses' REST API being used anywhere to save the responses? Please share your thoughts if you have encountered similar issue anytime.

find_real_file.png

Thanks,

Abhinandan

1 ACCEPTED SOLUTION

Abhinandan4
Giga Expert

This issue is fixed by upgrading ‘GRC: Advanced Risk Assessment’ store application to its latest version: 14.2.0.

ServiceNow raised change request to upgrade store application 'GRC: Advanced Risk Assessment’ to its latest version. Only maint user can upgrade this application. You can find this application in 'sys_store_app' table.

Please refer attached article for more information

Unable to save risk assessment response on the risk assessment form in workspaces - Known Error - No...

View solution in original post

6 REPLIES 6

Naveen Kumar4
ServiceNow Employee
ServiceNow Employee

Hi Abhinandan Patil,

Can you please check the version of your GRC: Advanced risk? Is it 14.2.3? what is the version of GRC: Risk assessment component? Is it 14.1.1?

If answer to both questions is yes, then it is app versions compatibility issue. please reach out to Servicenow Helpdesk to resolve the issue.

 

Thanks,

Naveen

Thanks Naveen for your inputs. What do you mean by GRC: Risk Assessment component here? I don't have any application with this name. Do you mean 'GRC: Risk Shared Common Component' application? Please clarify

And this functionality is working fine in my personal instance even though versions are different for most of these GRC applications.

einvaldserigsta
Kilo Sage

Hi, 

We encountered the same issue in the last GRC version. I would recommend to create a HI ticket for SN to fix it, but we did find the source and fixed it in our demo environment. 

The issue is in the Scripted Rest API (sys_ws_operation) with API definition "riskAsmntApi" and name "saveFactorResponses" -  
The line 53: factorResponses = responses.factorResponses;

Should be changed to

factorResponses = responses;

This worked for our demo environment, but to avoid taking ownership of the script and to risk other issues from the edit I would contact the HI desk.

 

Hope this helps!


Einvald

Thanks einvaldserigstad for your valuable input. The steps that you mentioned helped me to fix this issue but as you said I will keep ServiceNow HI ticket open till I get valid response from ServiceNow.

 

Regards,

Abhinandan