Restrict incident visibility to current assignment group

tapu
Giga Contributor

the incident list should be visible to only the current assignment group member.

It should be done via query business rule.

Can anyone help me with this ?

5 REPLIES 5

Musab Rasheed
Tera Sage
Tera Sage

Hello,

Write this simple Query BR

find_real_file.png

find_real_file.png

Use below link and copy query and paste it in BR because sysid might differ

https://instance/incident_list.do?sysparm_query=assignment_groupDYNAMICd6435e965f510100a9ad2572f2b47744%5EORassignment_groupISEMPTY&sysparm_first_row=1&sysparm_view=ess

Regards

Please hit like and mark my response as correct if that helps
Regards,
Musab

It's also probably worth adding an OR condition in to prevent records with no assignment group being filtered from all non-admins.

Agreed, have updated screenshot 🙂

Please hit like and mark my response as correct if that helps
Regards,
Musab

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

what if there is no group present on the incident record?

There is already a query BR on incident table.

Please update that only to avoid multiple query BRs

Regards
Ankur

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