Set Assignment Group Based on Configuration Item

John Johnson
Kilo Sage

Hello...

I am trying to get my assignment group to auto populate 'IS-Applications Docusign' when the Configuration Idem is 'DocuSign-Prod'

 

Currently, if i select 'category' = Application, and SubCategory=Application Support, and i input  DocuSign-Prod in my configuration item, the assignment auto populates to IS-Delivery-Service Desk.  I can't find how this is working, but need it changed to populate IS-Applications-Docusign.  

 

I have tried this code, but not working...

function onChange(control, oldValue, newValue, isLoading, isTemplate) {
if (isLoading || newValue === '') {
return;
}

    //Get the Support Group from the CI and populate Assignment Group if Support Group is populated
    g_form.getReference('cmdb_ci',getSupportGroup);
}

function getSupportGroup(ci) 
{
    if (ci.support_group && g_form.getValue('assignment_group') == '') {
			g_form.setValue('assignment_group', 'IS-Applications-Docusign');
1 ACCEPTED SOLUTION

Saurav11
Kilo Patron
Kilo Patron

Hello,

 

Please check Assignment lookup rules. It must be done from there that it is currently populating to IS-Delivery-Service Desk.

 

Saurav11_0-1668788365393.png

 

Saurav11_1-1668788438301.png

 

 

Please mark my answer as correct based on Impact.

 

View solution in original post

2 REPLIES 2

Saurav11
Kilo Patron
Kilo Patron

Hello,

 

Please check Assignment lookup rules. It must be done from there that it is currently populating to IS-Delivery-Service Desk.

 

Saurav11_0-1668788365393.png

 

Saurav11_1-1668788438301.png

 

 

Please mark my answer as correct based on Impact.

 

Actually, that is NOT where it was done... but i have made it work by adding a new assignment lookup rule there.. Thanks for the 'head's up'...