- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2020 04:50 AM
I want to add choice Opened by is (dynamic) "One Of my Group Members" below.
However, I couldn't add there.
Now, this is the Business Rule that I created.
Script is below.
function groupMembers(grpName) {
var mbrs = new Array();
var grmember = new GlideRecord('sys_user_grmember');
grmember.addQuery('group.name', grpName);
grmember.query();
while (grmember.next()) {
mbrs.push(grmember.user.toString());
}
return mbrs;
}
And also, this is the Dynamic Filter Options that I created.
Then, it's got into Open by Groups, not into Opened by.
How should I make it?
Solved! Go to Solution.
- Labels:
-
Incident Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2020 07:49 PM
Hi,
On the Dynamic Filter Option change the Reference table from:
Group [sys_user_group]
To:
User[sys_user]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2020 02:07 PM
In the Dynamic filter change the referenced table
from: Group [sys_user_group]
to: User [sys_user]