- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2024 11:38 PM
We have a requirement to migrate Advanced Risk Assessment from native UI to workspace UI. However we are not able to replicate it as we identified its a component named :"Advanced risk assessment 1" and we are not able to modify it.Kindly suggest what would be the best way to modify this component based on out requirement.
We are aware that we can create a custom component , but here we want to add on some of custom fields from Native to Workspace
Please find the attached screenshots to see customization in native UI.
Challenge 1: We need some custom field to show up in the scoring section of the advance risk assessment for both inherent and control assessment section.
Challenge 2: We need custom input from users, i.e in an assessment users need to provide 2 response for a control, they need to provide mitigation weight along with Control effectiveness score. CES is present in OOB , But mitigation weight is what we need to pull to the Workspace
Challenge 3: We need to validate the mitigation weight provided for each control and provide some weight less than 100
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2024 08:01 AM
Hi @AnkitS1128 ,
The advanced risk assessment is a custom component and there it is not customizable.
You can create custom elements in the scoring context slot provided on the page in the UI builder to achieve your customizations.
The validations on this component are handled using scripted rest apis. You can write your validation logic in the same.
You can review the existing APIs like "autosaveresponses", "saveFactorResponses" and write your validation logic in the similar manner.
The rest API details are provided below:
Module: Scripted Rest APIs
API name: riskasmntapi
Regards,
Jai
Regards,
Jai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2024 08:01 AM
Hi @AnkitS1128 ,
The advanced risk assessment is a custom component and there it is not customizable.
You can create custom elements in the scoring context slot provided on the page in the UI builder to achieve your customizations.
The validations on this component are handled using scripted rest apis. You can write your validation logic in the same.
You can review the existing APIs like "autosaveresponses", "saveFactorResponses" and write your validation logic in the similar manner.
The rest API details are provided below:
Module: Scripted Rest APIs
API name: riskasmntapi
Regards,
Jai
Regards,
Jai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2024 02:43 AM
Hi @jaikishan1,
Thanks for the walk-through. But to add custom elements in the scoring context was a bit challenging. So, I was wondering how to position my custom element "Impact Rating" on the White Space Area on the Scoring Context? And also, the Impact Rating is dynamically populating based on the Computed Inherent Risk Score. So, is this logic need to be scripted through API only or is there any alternative way out?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2024 03:11 AM
Hi @jaikishan1,
Thanks for the walk-through. But while trying to add the custom element named "impact rating" in the Scoring Context, the positioning was distorted. Need to position in on the white area where computed inherent risk is displaying. (See the screenshot below).
Also, the Impact Rating should get dynamically populated based on the inherent risk score. So, scripting logic has to be done through API only or is there any alternate way out to script this logic?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2024 03:12 AM
Hi ,
Thanks for the walk-through. But while trying to add the custom element named "impact rating" in the Scoring Context, the positioning was distorted. Need to position in on the white area where computed inherent risk is displaying. (See the screenshot below).
Also, the Impact Rating should get dynamically populated based on the inherent risk score. So, scripting logic has to be done through API only or is there any alternate way out to script this logic?