How to set default values in risk assessment form in change module
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-19-2022 07:12 AM
Onload of risk assessment form need to set the default values.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-18-2023 06:36 AM
Hi Kamlesh,
Could you please let me know if the field type = multiple selection,
how can i set the default value.
The solution is only applicable for field type = scale.
Awaiting for your response.
Thanks,
Amit Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-20-2023 01:30 AM
Its not working for me , can you please help I have the same requirement
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-22-2023 12:47 AM
Hi everyone,
I have the requirement where I have some document which needs to be present whenever the task is created based on the task type, how to achieve it.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-13-2025 03:38 AM
Really useful information, thank you since the Documentation is not very clear. Here is another example script for anyone since most of the detail should be in the Change Request:
gs.info('ServiceOutage script started. primary sys_id: ' + primary);
var gr = new GlideRecord('change_request');
if (gr.get(primary)) {
gs.info('change_request found for sys_id: ' + primary + ', u_outage_required: ' + gr.u_outage_required);
u_outage = gr.u_outage_required;
if (u_outage == 'Yes') {
scaled_result = '2';
} else if (u_outage == 'No') {
scaled_result = '1';
}