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  

How to find whether case created by (sys_created_by) user is a member of particular assignment group or not? sys_created_by values differs from one table to other. i want only case record created by is a member of particular assignment group or not

jnfjn
Tera Contributor

How to find whether case created by (sys_created_by) user is a member of particular assignment group or not? sys_created_by values differs from one table to other. i want only case record created by is a member of particular assignment group or not . 

 

2 REPLIES 2

anubhavkapoor76
ServiceNow Employee
ServiceNow Employee

Use the example in this post https://community.servicenow.com/community?id=community_question&sys_id=cd1766a0db66170067a72926ca9619ac

and inside script include use the function isMemberOf

 

Cheers!!

Anu

anubhavkapoor76
ServiceNow Employee
ServiceNow Employee

1. Create a Script Include for retrieving all group members for a specific Group. Screenshot below - where I have done it for group "Billing Support"

 

2. Use the script Include in the filter query of list view as below - have used for Incident table (you can do it for case)

 

 

Mark this helpful if it works for you!!

Cheers,

Anu