Interview Script Scenario

NishantDhole
Mega Guru

Hi,

 here is a one interview question scenario:

 

If the short description in incident form is 'Software' then that incident should be assigned to
Software assignment group. how can we achieve it

1 ACCEPTED SOLUTION

SAI VENKATESH
Kilo Patron

Hi @NishantDhole 

 

You can use assignment Rules  and attached is the image .cn109.PNG

cn109.PNGcn111.PNGcn109.PNG

 

Thanks and Regards

Sai Venkatesh

View solution in original post

2 REPLIES 2

Hari Prasath
Tera Guru

Hi @NishantDhole ,

 

You can achieve this by creating onLoad client script in the incident table. Copy paste the below code.

 

function onLoad() {
   //Type appropriate comment here, and begin script below
   var shortDescription= g_form.getValue('short_description');
   if(shortDescription.toLowerCase().includes('software'))
		g_form.setValue('assignment_group', 'software_group_sys_id');
   
}

 Update the software group sys_id with your group sys_id and save it.  Please let me know if you've any questions.

 

Please mark the answer helpful, if it helped you accordingly.

 

Thanks,

Hari

SAI VENKATESH
Kilo Patron

Hi @NishantDhole 

 

You can use assignment Rules  and attached is the image .cn109.PNG

cn109.PNGcn111.PNGcn109.PNG

 

Thanks and Regards

Sai Venkatesh