The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Populate Assignment Group Based on Configuration Item

deepu805
Tera Contributor

How can I populate Assignment group, based on configuration item on Incident form?

 

Thanks in Advance

1 ACCEPTED SOLUTION

Sri Harsha2
Tera Expert

Hi @deepu805,

You need to write Script Include and On change client script as provided below,

Script IncludeScript IncludeonChange Client ScriptonChange Client Script

 

If my response has resolved your query, please consider giving it a thumbs up ‌‌ and marking it as the correct answer‌‌!


Thanks & Regards,

View solution in original post

6 REPLIES 6

SAI VENKATESH
Tera Sage
Tera Sage

Hi @deepu805

 

You can use client script and business rules for populating assignment group based upon configuration item.

 

Can you provide more details so that i can help you in better way 

 

 

Thanks and regards 

Sai venkatesh 

K Sankalp
Tera Contributor

Hi @deepu805 

You can try using the Assignment rule to set an assignment group based on the configuration item.
It will give more privileges to use condition builder to select configuration Items, also you can use a script to call server-side components.

If this solves your query please mark it as correct and helpful!
Regards,

Sankalp

Community Alums
Not applicable

Hi @deepu805,

You need to write Script Include and Onchange client script as provided belowScreenshot (1284).pngScreenshot (1285).png

 

If my response has resolved your query, please consider giving it a thumbs up ‌‌ and marking it as the correct answer‌‌!


Thanks & Regards,

Sri_Harsha

 

Preview

SN_Learn
Kilo Patron
Kilo Patron

Hi @deepu805 ,

 

You can use client scripts, business rules, assignment rules.

 

'Onchange Client Script' sample:

function onChange(control, oldValue, newValue, isLoading) {  

    if (isLoading)  
          return;  

    var getGroup = g_form.getReference('cmdb_ci', setAssignmentGroup);  

}  

function setAssignmentGroup(group) {  
    if (getGroup)  
            g_form.setValue('assignment_group', getGroup.support_group);
}  

 

Assignment Rules: Define assignment rules 

 

 

Mark this as Helpful / Accept the Solution if this helps

----------------------------------------------------------------
Mark this as Helpful / Accept the Solution if this helps.