How to fetch the risk factor response choice values from Risk assessment form in client script?

Poornema1
Kilo Explorer

Hi All,

Im trying to get the choice values of factors which is in Risk assessment form. These factor choice values  are stored in risk factor response table. Based on factor response choice values, we need to show error message in Risk assessment form. 

Only on three of the factors we should be able to choose the factor choices as "YES". If we select "YES" on the fourth factor it should give a error message in form.

 

Please suggest on the same.

find_real_file.png

4 REPLIES 4

Naveen Kumar4
ServiceNow Employee
ServiceNow Employee

Hi Poornema,

It is not possible in the OOB.

Risk assessment factors you see on the form is UI formatter. In order to solve your requirement change the UI page here. 

 

<instance>/https://k8s0298611-node1.thunder.lab3.service-now.com/now/nav/ui/classic/params/target/sys_ui_page.do%3Fsys_id%3Dd7a153d40fe94010bad14bb768767e97%26sysparm_record_target%3Dsys_ui_page%26sysparm_record_row%3D1%26sysparm_record_rows%3D10%26sysparm_record_list%3DnameCONTAINSassessment%255EORDERBYname

 

Thanks,

Naveen

Hi Naveen,


Thank you for your response. 

But this UI page script is used by other domains as well which will impact.

Please can u suggest , any other alternative way to achieve this requirement. 

 

Thanks & Regards,
Poornema.

Rachna S
Tera Guru

Hi @Poornema1 

 

Did you ever manage to resolve this ? Any help would be much appreciated

Phil Swann
Tera Guru
Tera Guru

but... why? would love to understand the thinking behind this..