- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2024 05:03 AM
Hi All,
I have a requirement in Change Request form, in the category field below are the choices, when we select the below choices , another varible called CMDB checkbox, automatically it needs to checked , how to acheive this
Decommission - Application
Decommission - Application & Server
Decommission - In Build or Non operational CI
Decommission Server
System / OS upgrade
Tech Refresh / Server Migration
Project go-live
Solved! Go to Solution.
- Labels:
-
Change Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2024 05:49 AM
Hi @MK21, you can also try the onChange client script on category field.
function onChange(control, oldValue, newValue, isLoading, isTemplate) {
if (isLoading || newValue === '') {
return;
}
if (newValue == 'Decommission - Application' || newValue == 'Decommission - In Build or Non operational CI' || newValue == 'Decommission Server' || newValue == 'System / OS upgrade' || newValue == 'Tech Refresh / Server Migration' || newValue == 'Project go-live') {
g_form.setValue('cmdb', true);
} else {
g_form.setValue('cmdb', false);
}
}
Regards,
Sunil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2024 06:12 AM
created like this
but when i selected other choices variable is not unchecked, can you please tell me how to get with UI policies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2024 06:15 AM
Change the "Run Script UI Type" to "ALL".
This should resolve it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2024 06:25 AM
I tried no LUCK
i selected mentioned Choces it was true after changing the different choice it was not unchecked