CMDB | Populate IM assignment group when Service is selected
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2023 02:13 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2023 10:49 PM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2023 06:20 AM
Hi, I feel this can be resolved via the assignment rule. filer condition try to achieve with Service.
Simple configurations can solve this issue
Suresh.