Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

Incident Assignment group reference qualifier

Stergios Stergi
Mega Guru

Hello, I would like some help regarding the Incident form set up.

I've been stack on this for a couple of hours now, I cant find the correlation between the sys_user_Groups and the Assignment groups of the Incident form.

All I have found is in the dictionary of the Assignment group, there is a reference qualifier

" : new Pancreta_Util().getIncAssignmentGroups(current.category.u_name) "

 

However I have searched throughout the instance and I cant find the way to add a new group I created with the ITIL role, in the available groups.
There is a correlation regarding the Division field on the form. When we change the Division the available assignment groups change as well.

 

Thank you in advance!

 

1 ACCEPTED SOLUTION

Prince Arora
Tera Sage

@Stergios Stergi 

 

As per the explained scenario

 

1) On the incident form, there is a field called "Assignment group" and there is a reference qualifier attached to that

new Pancreta_Util().getIncAssignmentGroups(current.category.u_name

 

So basically "Pancreta_Util" is the name of the script include and "getIncAssignmentGroups" is the name of the function in the script include

Go to filter Navigator <-> Script includes <-> Pancreta_Util <-> and SearchgetIncAssignmentGroups 

 

2) As I can see reference qualifier is passing the name of the category selected on the form, so basically there is some logic performed in the "getIncAssignmentGroups", Please take a look at it, the logic of hiding/showing the groups based on the category is mentioned in this function only.

 

3) If you want to create a new group, type  sys_user_group.LIST & create a new group in that

 

If my answer solved your issue, please mark my answer as  Correct & 👍Helpful based on the Impact.

View solution in original post

3 REPLIES 3

Ankur Bawiskar
Tera Patron
Tera Patron

@Stergios Stergi 

Did you debug the script include function what it is returning?

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Prince Arora
Tera Sage

@Stergios Stergi 

 

As per the explained scenario

 

1) On the incident form, there is a field called "Assignment group" and there is a reference qualifier attached to that

new Pancreta_Util().getIncAssignmentGroups(current.category.u_name

 

So basically "Pancreta_Util" is the name of the script include and "getIncAssignmentGroups" is the name of the function in the script include

Go to filter Navigator <-> Script includes <-> Pancreta_Util <-> and SearchgetIncAssignmentGroups 

 

2) As I can see reference qualifier is passing the name of the category selected on the form, so basically there is some logic performed in the "getIncAssignmentGroups", Please take a look at it, the logic of hiding/showing the groups based on the category is mentioned in this function only.

 

3) If you want to create a new group, type  sys_user_group.LIST & create a new group in that

 

If my answer solved your issue, please mark my answer as  Correct & 👍Helpful based on the Impact.

Thank you so very much! As soon as I navigated to the Script includes it dawned on me!
Case closed!