The CreatorCon Call for Content is officially open! Get started here.

How are the assessment calculations made in ServiceNow?

deepthireddy
Kilo Expert

Hello all,

I was trying to figure out a source or a default script that ServiceNow uses to calculate the Normalized and scaled values on an assessment metric.

I know that the formula used to calculate a normalized value is ,

Normalized value = (Input Value - Min value defined in metric) / (Max value defined in metric - Min value defined in metric) * current metric weight / (sum of valid metric weight) * scale_factor

My question is, where is this calculation being made on the tool? Is it a business rule or a client script thats triggering the calculation? If so, where can I find one and what is it's called?

Any kind of help is appreciated.

Thanks,

Deepthi

8 REPLIES 8

Matt Hernandez
Tera Guru

Hello Deepthi,


I am also working on this, and I wonder where you found this formula for 'normalized value' on a metric result?



I am testing and I cannot get this formula to match up with the values from my system, and also I don't find any attribute called, 'scale_factor'. Can you point me where you found this explanation of metric result calculation?



Please it would help me so much.



UPDATE:



Never mind, I found it.


https://docs.servicenow.com/bundle/jakarta-servicenow-platform/page/administer/orchestration-activit...


santhosh1
Kilo Contributor

Can anyone help me how the assessment rating is derived?..Is there any specific formula?

 

For demand assessments:

First, there is an assessment normalization process that occurs when populating assessment results values. My link for the documentation on that is above in this thread. 'Rating' is calculated as the AVG of assessment results for a given assessment category (risk, size, value, strategic alignment, cost). It becomes the corresponding score...a demand has several score fields. Then the overall score is the AVG of the risk, size and value scores. That information is derived from tracing through code.

Kirby R
Kilo Sage

Hi @deepthireddy ,

 

Were you able to find the script where this logic is executed? Thanks.