- 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-02-2024 06:01 AM
Hi @AnkitS1128 ,
The impact rating cannot be inside the computed inherent risk as that is part of the custom component.
You will have to play around with CSS to make it centered or find a position that works.
And, there is no other way to get the value to populate dynamically apart from writing scripts.
Regards,
Jai
Regards,
Jai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-02-2024 05:40 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?