Event got triggered but notification not triggered
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2025 07:15 AM
Hi All,
I need to trigger the notification from flow design using the event, in the event only i need to define the group dynamically.
below script works in event log it shows user sys id in Param 1 but notification not triggered.
var grp = current.getValue('reslovergroup');
var arr = [];
var gr = new GlideRecord('sys_user_grmember');
gr.addQuery('group', grp);
gr.query();
while (gr.next()) {
arr.push(gr.getValue('user'));
}
// gs.eventQueue parameters: eventName, GlideRecord, parm1, parm2
// You cannot pass an array directly. You must either loop or join it.
for (var i = 0; i < arr.length; i++) {
gs.eventQueue('your.event.name', current, arr[i], '');
}
Please suggest