- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2024 04:37 AM
@raj99918 Please share your Script include code.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2024 04:41 AM - edited 07-24-2024 04:43 AM
SI Code:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2024 04:45 AM
@raj99918 Please update the script include script as follows.
var Groupsdata= Class.create();
Groupsdata.prototype = Object.extendsObject(global.AbstractAjaxProcessor, {
getGroupnames: function(user) {
var groups = [];
var gr = new GlideRecord('sys_user_grmember');
gr.addQuery('user', user);
gr.query();
while (gr.next()) {
groups.push(gr.group.sys_id);
}
return 'sys_idIN' + groups.toString();
},
type: 'Groupsdata'
});
Also, apply the same reference qualifier again on the Group field in order to make the reference qualifier call the script include.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2024 04:52 AM
Hi @Sandeep Rajput Sorry still it's not pulling the filter values and its getting all the group names.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2024 04:56 AM
@raj99918 Sent you a message, please check.