Assigned to should not be filled if Assignment Group Field is Empty on Incident Form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2019 04:32 AM
Hi All,
I have one requirement that user cannot able to fill the Assigned To cannot be filled without Filling the Assignment Group.
Can anyone suggest me how to impose the restriction in SNOW?
Regards,
SNOW@Das
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2019 01:07 AM
Ok thanks for your inputs. So I have one query here as to is the Order matters here as to what order I need to define.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2019 01:14 AM
You can use the default one or you can change the order as per your need , please check other UI Policies too which are running on "Incident" table .

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2019 01:34 AM
hi
function onChange(control, oldValue, newValue, isLoading, isTemplate) {
if (isLoading || newValue === '') {
return;
}
if(!(g_form.getValue('assignment_group')))
{
alert('please first select the assignment group');
g_form.setDisplay('assigned_to', 'false');
}
}
Thanks,
Rahul Kumar