Only show groups with "assignment group" ticked

scottjus82
Kilo Guru

Good morning,

 

I am trying to sort out an issue with our assignment groups. I only want to display groups that are active and marked as an "assignment group" in the groups user administration section. This was meant to have been done by predecessor however it does not work. The following line is in the ref qualifier field for assignment group on the incident form. active=true^typeISEMPTY^NQactive=true^typeLIKE50e336982b6705000e9f8c1fe8da1590. the first problem is it dosnt work as stated as in I can assign tickets that are marked as in-active. also tere is no reference to "assignement group" true or false field.

 

Can anyone advise? I have played around with the script but have not got it working.

 

Regards

10 REPLIES 10

To get the proper filter for creating simple Reference Qualifiers, you can navigate to the reference table and build your conditions to get the desired list of records.   Then, right click on the right-most part of your condition and select "Copy query":


Untitled_4.png



A window will pop-up allowing you to copy the filter:


ServiceNow.png



You can then paste that filter into the Reference qualifier field.



In Eureka, you can now build the condition right in the Dictionary entry form:


ServiceNow 2.png




See the following article for the different ways of specifying Reference qualifiers now - Reference Qualifiers - ServiceNow Wiki