how to set the question value default based on the above question answer in change risk assessment?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2025 08:41 AM
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!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2025 09:06 AM
You will have 'Depends on' and Displayed When options on the question form in General Tab where you can add questions dependency
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2025 09:22 AM
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2025 10:28 PM
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2025 11:32 PM
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