- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sunday
Dear Team,
I have a requirement to modify the Request Assessment popup in the risk module. Currently, when a user clicks Assess on a risk record, a popup is displayed where they can select assessors, approvers, and specify the number of days to overdue.
My requirement is to replace the "days to overdue" field with a Due Date field, enabling users to select a specific due date for the risk assessment directly from the popup.
Please help me in understanding the ways to modify popup and add due date.
Thank you.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Monday
Hi @SUSMITHA KRISHN,
Here are the details of the "Request risk assessment" modal that appears when you click on "Assess" in workspace
Declarative action for it is: /sys_declarative_action_assignment.do?sys_id=52c63210776b3010c4a4b0bdbd5a99a8
It opens a UIB page called "Trigger Risk Assessment" /now/builder/ui/edit/experience/c8b8d7c543113110ec6250d556b8f29c/8ed1670543513110ec6250d556b8f26f/565a57c943113110ec6250d556b8f294
You can see that each of the input fields of the modal have their own input components in the UIB page.
On click of the "Request assessment" button in the modal, a client script called "Create risk assessment" is triggered which calls a scripted rest api - '/api/sn_risk_advanced/riskasmntapi/triggerRiskAssessment'
/sys_ws_operation.do?sys_id=ef00ee17b7f23010580c1a4ece11a91f
This is where the fields are set when creating risk assessment, and where you would have to modify to add additional input fields.
Thank you,
Meghana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sunday
For your requirement - How to modify the UI page and processing script : Step by step instruction with screen shot is given here. Follow it.
refer: https://www.servicenow.com/community/grc-forum/set-a-risk-assessment-due-date/td-p/3117536
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sunday
Thanks for the reply @Tanushree Maiti . I tried this already but the changes I made to the UI Page doesn't reflect in the workspace.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Monday
Hi @SUSMITHA KRISHN,
Here are the details of the "Request risk assessment" modal that appears when you click on "Assess" in workspace
Declarative action for it is: /sys_declarative_action_assignment.do?sys_id=52c63210776b3010c4a4b0bdbd5a99a8
It opens a UIB page called "Trigger Risk Assessment" /now/builder/ui/edit/experience/c8b8d7c543113110ec6250d556b8f29c/8ed1670543513110ec6250d556b8f26f/565a57c943113110ec6250d556b8f294
You can see that each of the input fields of the modal have their own input components in the UIB page.
On click of the "Request assessment" button in the modal, a client script called "Create risk assessment" is triggered which calls a scripted rest api - '/api/sn_risk_advanced/riskasmntapi/triggerRiskAssessment'
/sys_ws_operation.do?sys_id=ef00ee17b7f23010580c1a4ece11a91f
This is where the fields are set when creating risk assessment, and where you would have to modify to add additional input fields.
Thank you,
Meghana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Monday
Thank you so much @MeghanaAySo. This is the clear explanation of how the popup is working.
