Dynamic Risk Response Options to be populated in risk assessment for a specific RAM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2025 07:23 AM
Hi Experts 🙂,
As we know, assessors in the risk assessment process currently have four out-of-the-box (OOB) options to choose from when responding to risk assessment: Mitigate, Accept, Avoid, and Transfer.
I am currently focused on enhancing our risk management processes within ServiceNow and am seeking guidance on how to make the risk response options dynamic based on the selected risk assessment methodology.
Specifically, I am planning to configure the system to display only the "Mitigate" and "Accept" options and hide "Avoid" and "Transfer" options for our Risk Assessment Methodology, referred to as "MMT RAM." For remining RAMs all four options should visible.
Could you please provide guidance on how to achieve this functionality? Any insights on configurations, scripts, or best practices would be greatly appreciated. (please check screenshot)
Thank you for your assistance!
Best regards,
Ravikrishna.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2025 04:46 AM
Hi @Ravi40 ,
In order to have risk response options be available dynamically on workspace, you would need to customize the OOB scripts which fetch the choices for the assessment, the details are provided below:
-
The response choices are shown based on the choices configured in the assessment table. The data for this is fetched using scripted rest endpoints.
-
You can customise the existing logic to fetch the response choices applicable to the assessment to meet your requirements.
-
You need to update the existing scripted rest endpoint riskAsmtApi to hide the responses that are not required.
-
The code to be modified is provided below:
All > Scripted REST APIs > riskAsmntApi > getRiskAsmtData > getAssessmentData > getRiskResponseData > allResponses (Customise the values being put in all responses to meet the criteria.)
Regards,
Jai
Regards,
Jai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2025 10:13 AM
Hi @jaikishan1,
Will you be able to show the code update within the script include. this seems to breaks the system where the hide response options is hiding the create task option
Image with the error
Image OOTB
Thank you!