How to locate the Assignment Group for Assigned To belongs to if the Assignment group is unknown?

sheree_kenner
Tera Contributor

Hello all,

I work for an extremely large organization and sometimes I get tickets that should go to a specific person, but I have no idea which Assignment Groups they belong to. 

Is there an easy way to do a dynamic lookup based on Assigned to vs. Assignment group so that I only see all of the Assignment groups that person belongs to? 

Not being able to is terribly frustrating if you are trying to narrow down the Assignment groups in which that Assigned to belongs.

 

 

Thanks.

1 ACCEPTED SOLUTION

Tony Chatfield1
Kilo Patron

Hi, I think you would need to add a scripted reference qualifier for the task assignment_group field.
I would create a script-include function that would be called by assignment_group field advanced reference qualifier.

When calling the function, I would pass in the current.assigned_to so that your script you can use this to check if the assigned_to field is empty and if it is return all valid assignment groups. If it is not empty, then run a glidequery on sys_user_grmember table and return the group sys_id for all records that match your user. 

 

View solution in original post

2 REPLIES 2

Tony Chatfield1
Kilo Patron

Hi, I think you would need to add a scripted reference qualifier for the task assignment_group field.
I would create a script-include function that would be called by assignment_group field advanced reference qualifier.

When calling the function, I would pass in the current.assigned_to so that your script you can use this to check if the assigned_to field is empty and if it is return all valid assignment groups. If it is not empty, then run a glidequery on sys_user_grmember table and return the group sys_id for all records that match your user. 

 

Thank you very much for your reply and the time you took to respond to my inquiry. I have submitted this to our SN development team to implement.