Based on service Assignment group should populate by using assignment rule.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2024 02:27 AM
When we raise a case ticket , based on service assignment group should populate. For this i have written a script.
var val = '';
var itSuppGrp = new GlideRecord('sys_user_group');
itSuppGrp.addQuery('name','IT Support');
itSuppGrp.query();
if(itSuppGrp.next()){
val =itSuppGrp.sys_id;
}
if (current.business_service.support_group == ""){
current.assignment_group = val;
}
else {
current.assignment_group = current.business_service.support_group;
}
This script is working fine but if service changes assignment group should also change. But it is not working. Please provide a ASSIGNMENT RULE script for this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2024 03:32 AM - edited 10-21-2024 05:02 AM
Hi Mark Manders, Thank you...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2024 04:48 AM
The solution is provided (by more than one person) and if you are having trouble to get it to work, please let us know what you have and what isn't working. The community is not a place to have people do your job for you.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2024 03:49 AM
Hi, Did you try with assignment lookup rules? Please find below.
Suresh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2024 04:20 AM
Those won't work, because you would need to create one for every CI.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2024 04:55 AM
Hi, I have written onchange client script to clear the value of assignment group and assignment rule is working as usual. It is working fine now. Thanks for your suggestion.