copy on hold reason to short description- SOW
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-07-2024 04:49 AM
i have this functionality in a client script(photo below): in every change of the on hold reason before the save - the label of the choice (for example: awaiting caller) is copied to the short description field.
how to make it work , the same functionality in the SOW workspace.
itil roles should see it.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-07-2024 06:01 AM
@ofekg Please try below this should work in both Classic and SOW view.
function onChange(control, oldValue, newValue, isLoading) {
if (isLoading || newValue === '') {
return;
}
var holdOnReasonChoiceLabel = g_form.getDisplayValue('hold_reason');
g_form.setValue('short_description', holdOnReasonChoiceLabel);
}
Please mark my answer correct and helpful if this works for you.