Scripting in Risk Assessment Methodology

Prabhjot3
Kilo Expert

I have a requirement that required scripting for getting impact and likelihood scores so we can utilize them in residual assessment.

score = 2 * Likelihood - Impact;

2 REPLIES 2

prit123
Tera Contributor

@Prabhjot3 Did you got scores through scripting?

jaikishan1
ServiceNow Employee
ServiceNow Employee

Hi @Prabhjot3 , @prit123 ,
The facots already support scripting. 
You can select the scoring logic of type 'Script' and the provide your custom script for the score.
The script has access to the assessment Id which can be used to query across different tables such as factors, factor responses and get the required data(likelihood, impact etc). Please refer the screenshot below:

jaikishan1_0-1746165250693.png


Regards,
Jai

Please mark this as helpful if it solves your query.

Regards,
Jai