How to auto-assign an incident ticket to an specific support group based on CI?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2024 11:21 AM
Hi everyone,
If a user calls in what are the options to auto route the call based on one of 3 CI impacted. Is that possible?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2024 11:43 AM
Yes, you can configure the assignment rule to route the incident based on the CI.
If my response helped you, please click on "Accept as solution" and mark it as helpful.
- Saloni
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2024 11:48 AM
If my response helped you, please click on "Accept as solution" and mark it as helpful.
- Saloni
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2024 11:52 AM
Hi @Gemma4 OOTb there is BR, auto assigned based on CI/ SO
If CI or SO has support group added in record Incident will get auto assigned to that support group.
May i know why you want to assign based on Impacted CI, it will create a technical debt also impact OOTB functionality.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2024 12:16 PM
Hi @Gemma4
You can create onChange client script as well to achieve this. When you select CI, based on that CI, assignment group is autopopulated on your form
You can use below code for your reference,
function onChange(control, oldValue, newValue, isLoading, isTemplate) {
if (isLoading || newValue === '') {
return;
}
if (newValue) {
var caller = g_form.getReference('cmdb_ci', doAlert); // doAlert is our callback function
}
}
function doAlert(caller) { //reference is passed into callback as first arguments
//alert('here='+caller.support_group);
if (caller.support_group) {
g_form.setValue('assignment_group', caller.support_group);
}
}
Also, you can create business rule to achieve this,
if (!current.ci.support_group.isNil()) {
current.assignment_group.setDisplayValue(current.ci.support_group);
}
If this solution resolves your query, kindly mark it as the accepted solution and give it a thumbs up.
Best Regards,
Krushna Birla