task is that when we select a group in the Assignment Group field, only that grpmember see in assig
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a week ago - last edited a week ago
Hi @ishwarsingh
This steps might help you
- Go to System Definition > Dictionary.
- Search for the field Assigned to on the incident table.
- Table name: incident
- Field name: assigned_to
- Open the dictionary entry for that field.
- Scroll down to the Reference Specification section → find the Reference Qual field.
- Change the qualifier type to Advanced.
- Paste the script below:
javascript:'active=true^sys_idIN'+getIDs(current.assignment_group);
function getIDs(grp){
if (!grp) return ''; // return empty if no group is selected
var m = GlideUserGroup.getMembers(grp);
var ids = '';
while (m.next()){
ids += (m.user + ',');
}
return ids;
}
See the reference
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0831564
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a week ago
please use dependent as assignment group
Chavan AP
[ Architect | Certified Professional]
Was this response helpful? If so, please mark it as ✅ Helpful and ✅ Accept as Solution to help others find answers.
[ Architect | Certified Professional]
Was this response helpful? If so, please mark it as ✅ Helpful and ✅ Accept as Solution to help others find answers.