Same user added multiple times in a group. How to take this report ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2026 08:55 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2026 09:12 AM
Hi @KingshukM
Create a function in a scriptInclude to find duplicate user
function getDupGrpMember (){
var dupRecord = [];
var gaDupCheck =new GlideAggregate('sys_user_grmember');
gaDupCheck.addAggregate('COUNT','user');
gaDupCheck.addNullQuery('user');
gaDupCheck.groupBy('user');
gaDupCheck.addHaving('COUNT','>','1');
gaDupCheck.query();
while (gaDupCheck.next()) {
dupRecord.push (gaDupCheck.getValue('user'));
}
return dupRecord;
}
Then Go to Report ->Sys_user table
call that function from report condition:
Then add a related list condition "greater than 1" on the table "Groups" with the filter "group.roles is pps_resource"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2026 04:51 AM
The screenshot you pasted shows report to be created on Sys_user_grmember table
but your text says sys_user.
can you please validate and confirm once?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2026 05:10 AM
This didnt work.The screenshot you pasted shows report to be created on Sys_user_grmember table
but your text says sys_user.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2026 05:11 AM
