Update a field in change request form when risk assessment is submitted
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā05-04-2024 06:33 AM
When a risk assessment is submitted in a change request form and If the score of the assessment is 21 or higher then the Field should be set to TRUE. Can anyone help me on this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā05-04-2024 06:54 AM
Hi @Narmadha PR
Can you check this it might be helpful
Mark it Helpful and Accept Solution !! If this helps you to understand.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā05-04-2024 08:51 AM
Hi @Narmadha PR
For this you need to Code actually, OOTB we can set impact and Risk not other field.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā05-04-2024 11:31 AM
Hi @Narmadha PR ,
For this problem please create onSubmit client script on change_request table and add below sample code.
var riskValue = g_form.getValue('risk_assessment');
if(riskValue > 21){
g_form.setValue('field_name', true); // this field may be true/false field
}
Please mark my answer correct and helpful if this works for you
Thanks and Regards
Sarthak