CMDB | Populate IM assignment group when Service is selected

MalackaT
Tera Contributor

MalackaT_0-1690794586909.pngMalackaT_1-1690794624185.png

 

 

I'm not sure how to solve this problem. I have tried so many things.

 

When ‘Support group’ is available in the selected Service, then populate the ‘Assignment group’ field with it. An information message will be displayed under the ‘Assignment group’ field if it was already filled with another group.

Information to be fetched from the server-side using GlideAjax.

 
 
 
 
 
 
 
 

 

6 REPLIES 6

@MalackaT 

 

when you are getting a display value of assignment group you are comparing it with current assignment group.

While setting assignment group ,you have to use g_form.setDisplayValue('assignment_group',answer);

 

If method g_form.setDisplayValue() does not work then remove getDispalyValue from your script include and client script as below 

supportgroup  = businessServiceGR.support_group;

//client script

currentassignmentgroup = g_form.getvalue('assignment_group');

set assignment group in client script  as -

g_form.setValue(assignment_group',answer);

 

If my answer solved your issue, please mark my answer as Correct & 👍Helpful based on the Impact

Thanks,

Manjusha Bangale

ersureshbe
Giga Sage
Giga Sage

Hi, I feel this can be resolved via the assignment rule. filer condition try to achieve with Service.

Simple configurations can solve this issue

Regards,
Suresh.