Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

SOW: UI Action 'Assign To Me' how to filter groups?

KevinConsultant
Tera Contributor

Situation:

When creating a new incident via the service operations workspace, using the '+' button.

There is a UI button is called 'Assign to me' which displays a list of all groups of which the current user is a member.

 

Business Need:

We need to be able to filter this list based on Group Type.

 

Question:

Has anyone experienced / attempted to filter the group list to include specific group types. ie. 'itil'

Thanks

11 REPLIES 11

Got it. Have you looked into dictionary override ? It is a convenient OOTB solution that can help with adjusting the reference qualifier of a field.

No Alex,

I’ll investigate if that will address our business requirements. 
thanks for the lead. 

Alexandre,

I looked into the Dictionary Override as you suggested and we currently have one for Incidents (see attached), it is set with teh following criteria:


active=true^typeLIKE1cb8ab9bff500200158bffffffffff62^ORtypeLIKEdaa26263ff0331007a6dffffffffff19^EQ

 

  1. active = true
  2. type like 'itil'  [sys_id =1cb8ab9bff500200158bffffffffff62] OR
  3. type like 'Security Incident'  [sys_id =daa26263ff0331007a6dffffffffff19]

The 'Assign to Me' UI Action Button in the SOW doesn't seem to honour this Override!

Any further suggestions?

Screenshot 2025-11-12 at 7.23.26 AM.png

KevinConsultant
Tera Contributor

I looked into the Dictionary Override as suggested, we currently have one for Incidents, it has the criteria below. 

 

The 'Assign to Me' UI Action Button in the SOW doesn't seem to honour this Override!

Any further suggestions?

 

Assignment Group - Dictionary Override - Incident 
active=true^typeLIKE1cb8ab9bff500200158bffffffffff62^ORtypeLIKEdaa26263ff0331007a6dffffffffff19^EQ

KevinConsultant_0-1763046645106.png

 

 

  1. active = true
  2. type like 'itil'  [sys_id =1cb8ab9bff500200158bffffffffff62] OR
  3. type like 'Security Incident'  [sys_id =daa26263ff0331007a6dffffffffff19]

 

Hi Kevin, sorry for the late reply.

Here is a link to the ui action: now/nav/ui/classic/params/target/sys_ui_action.do%3Fsys_id%3D8513fcd0773b301027aae297cd5a9968

The UI action calls a function from script include (SOWITSMCommonClientUtils) that is extending another script include (SOWITSMCommonClientUtilsSNC) which is hosting the function used by the ui action (_getMemberGroups).


Unfortunately for you, the script include you are looking to modify is read-only. Therefore you have to recreate the function (with the same name) in the script include SOWITSMCommonClientUtils that is editable and adjust the query to match your need.

I hope it helps !
Alex