Michael Fry1
Kilo Patron

Are you using the Best Practices - Risk Assessment plugin? Thinking no because I don't have that script includes in my NY instance.

nikolasemer
Tera Contributor

Yes, Risk Assessment plugin (com.snc.change_management.risk_assessment)

My version is Madrid. 

That's the legacy risk assessment plugin. The latest version should be: com.snc.bestpractice.change_risk

nikolasemer
Tera Contributor

This is for the Risk calculation

  • Risk Calculator - uses conditions to set values. (com.snc.bestpractice.change_risk) [link]
  • Risk Assessment - uses questionnaires to set values (com.snc.change_management.risk_assessment) [link]

nikolasemer
Tera Contributor

This is what I found!

In Madrid the value being summarized is actual_value. Since "The actual value is equal to the Value of the metric definition associated with the chosen answer option",the script does not return weighted score but just a score //sum of values of all answers.

Checking in New York the script includes (ChangeRiskAsmt)  has been updated and it summarizes the normalized_value. It seems this is more correct as normalized_value will actually return the value*weight. However, I observed that the normalized value will be set with negative value on the first response of a category. I couldn't figure out why or how the value is being calculated.

I did found out though that there is a third filed, which is not shown in the form. It is called weighted_value it works exactly as expected. I have no idea why it is not used in the script.

So all I had to do, was to change the actual_value, in Madrid and normalized_value, in New York with weighted_value and now the Script returns the weighted score. 

 

ASMT_METRIC_RESULT

I`m yet to find how to use the categories weight but this is another topic.

 

BTW the fields mentioned above are in asmt_metric_result table.