How to auto populate Assignment Group , Category, SubCategory and service based on service offering

Madhusudhan Kan
Tera Contributor

for Incident How to auto populate Assignment Group , Category, SubCategory and service based on service offering.

 

i am trying on use client script on onchange but its working can one help.

below is script I have used.

 

function onChange(control, oldValue, newValue, isLoading, isTemplate) {
if (isLoading || newValue === '') {
return;
}

var ser = g_form.getValue('service_offering');

if(ser == 'ALLIANCE BI');
{
g_form.setValue('category' , 'abce');
g_form.setValue('subcategory' , 'Business ');
g_form.setValue('assignment_group' , 'sap');
g_form.setValue('business_service' , 'SAP ALLIANCE');

}

 

 

5 REPLIES 5

ya I have tried Assignment rule its also not working