how to set the question value default based on the above question answer in change risk assessment?

Nawal Kishor S2
Tera Guru

Hello experts,

 

how to set the B question value based on A question answer in change risk assessment.

please let me know that will help me!!

 

Thanks!!!

4 REPLIES 4

Voona Rohila
Kilo Patron
Kilo Patron

Hi @Nawal Kishor S2 

You will have 'Depends on' and Displayed When options on the question form in General Tab where you can add questions dependency

 

VoonaRohila_0-1740675921016.png

 

https://www.servicenow.com/docs/bundle/vancouver-it-service-management/page/product/change-managemen....


Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP

jcmings
Mega Sage

You can also set this up with a onChange client script. Your onChange will be on the "A question" field. And you'd use g_form.setValue('questionB', 'value') to accomplish this!

on which table need to apply the and for which field, can you please explain more if you have already did this please share the logic?

 

 

This approach will not work for Risk assessment form @jcmings 

 


Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP