Assigned to should not be filled if Assignment Group Field is Empty on Incident Form

SNOW46
Tera Contributor

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

 

 

17 REPLIES 17

SNOW46
Tera Contributor

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.

 

 

Gagan10
Giga Contributor

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 .

Rahul Kumar17
Tera Guru

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');
}
}

If my response helped please mark it correct and close the thread.

Thanks,
Rahul Kumar