- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2023 08:08 AM
Hello,
I have a requirement to recalculate the Assessment Data Results on Demands.
Current Assessment Data looks like this:
On the Assessment Instance, the user can update the values:
I am looking to create UI Action on the demand page to recalculate the assessment data.. any ideas?
THank you
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2023 10:15 AM
Ok, so now try to determine whether the business rule is running or not - do you still have the logging line, and are you seeing anything in the logs?
I edited 4 values so this gets logged when the business rule runs

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2023 09:28 AM
Hi, I think that error is related to the ui action (it has the rerun_metrics action reference). Can you confirm that your ui action looks like this:
Also I'm not sure why the business rule isn't running when you update the assessment question values. Can you confirm that these are the values you are editing from the related list on the assessment instance record:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2023 09:57 AM
Hello,
yes the UI action looks the same as yours:
And, to update the values yes I am going here:
Then here:

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2023 11:15 AM
The last screenshot does not look like the correct record, it looks like the result as opposed to the instance question. That's probably the issue, as I believe for this to work the user should be editing the instance question record, not the results record. The results are calculated so you don't want the user editing those, rather they should edit their original answer. Then the results are re-calculated in the business rule.
This stuff can be quite confusing as there are a lot of tables involved. Also if the processes have been customized it can be even more confusing. Based on you images above I think some things have been customized on the demand related lists.
Unf, I don't think you'll be able to get this working if users are editing the results records, because that will cause the normalized values to be out of synch with the other values.
Try opening the Assessment Instance form and add the Assessment Instance Questions related list to it, then retry the process by editing the value field on that list.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2023 07:40 AM
Hello,
thanks! I see what you're saying and I added the Assessment Instance questions related list and am updating from there.
No luck, I really think it's something with the business rule because when I debug I still see the message that says 10:38:36.10 Action script not found: rerun_metrics
Thanks again for all of your help.. I am going to keep trying to troubleshoot. If anything else pops into your mind just let me know. Thanks so much.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2023 07:55 AM
Try changing the name of the business rule (from Rerun Metrics to Rerun Metrics New), and also the name of the action in the ui action (from rerun_metrics to rerun_metrics2). See which change makes the error change.