- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2025 10:58 PM
Dear experts,
I would like to add a field which is the inherent risk rating result after the users have completed the risk assessment and the score will be reflected when they create a risk response task in the risk response form. I tried to create a new business rule which is as below. But it does not work, any suggestions to approach this matter?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2025 06:45 PM
Hi, so I tried and this is the script that is working for now
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2025 11:54 PM
Hello @ChuanYanF
Ok. I got it. So, one assessment can have several risk response tasks created based on where user has clicked the risk response task creation.
So, there is a "risk" field on the "response task form". This risk field has a section called "Assessment summary" which contains "inherent rating".
So, you need to create "On insert" Business Rule on "Risk Response task" table. You need to dot walk from the "risk" field to "inherent rating" field. Then you can set whatever field you want in risk response task table to this value.
Kindly mark my answer as helpful and accept solution if it helped you in anyway. This will help me be recognized for the efforts and also move this questions from unsolved to solved bucket.
Regards,
Shivalika
My LinkedIn - https://www.linkedin.com/in/shivalika-gupta-540346194
My youtube - https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&si=0WynLcOwNeEISQCY.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2025 12:13 AM
I tried using your way and configured like this, but I still cant manage to populate the fields. Here are the screenshots can u help me identify the problems?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2025 12:21 AM
Hello @ChuanYanF
Is the field types of "Inherent risk rating" and "Computed risk" same ? I don't think so. If not, this "Set Values" won't work.
You need to go by script, dot walking and copy down the value and set it. If its in String form its the best.
Kindly mark my answer as helpful and accept solution if it helped you in anyway. This will help me be recognized for the efforts and also move this questions from unsolved to solved bucket.
Regards,
Shivalika
My LinkedIn - https://www.linkedin.com/in/shivalika-gupta-540346194
My youtube - https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&si=0WynLcOwNeEISQCY.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2025 11:59 PM
Hello @ChuanYanF
Something like below:-
(function executeRule(current, previous /*null when async*/) { // Access the inherent rating from the related risk record var inherentRating = current.risk.inherent_rating; // Set the desired field in the Risk Response task table to this value current.your_field_name = inherentRating; })(current, previous);
Please check the field names from backend if everything is correct this should be fine.
Kindly mark my answer as helpful and accept solution if it helped you in anyway. This will help me be recognized for the efforts and also move this questions from unsolved to solved bucket.
Regards,
Shivalika
My LinkedIn - https://www.linkedin.com/in/shivalika-gupta-540346194
My youtube - https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&si=0WynLcOwNeEISQCY.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2025 12:31 AM
I tried using this script after I modified below but it still does not show.