
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2019 04:47 AM
I'm calling this line of code on the server side of a widget, but the notification never triggers:
gs.eventQueue('group.mgmt.desc.change.request', '', '194dd9a7db176b4050fbff9aae9619ea', 'hello world');
Here is my "When to send":
Here is my "What will it contain":
And here is my event registry record:
And yes, this is checked:
They sys_id I'm passing (194dd9a7db176b4050fbff9aae9619ea) is a group sys_id.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2019 05:07 AM
Where are you triggering this gs.eventQueue() from? Can you share that bit of code as well?
The second parameter is required. You can use current, any GlideRecord record, and I believe I've used null on occasion.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2019 05:07 AM
Where are you triggering this gs.eventQueue() from? Can you share that bit of code as well?
The second parameter is required. You can use current, any GlideRecord record, and I believe I've used null on occasion.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2019 05:31 AM
Bingo. Adding "null" worked great.
gs.eventQueue('group.mgmt.desc.change.request', null, '194dd9a7db176b4050fbff9aae9619ea', 'hello world');

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2019 05:41 AM
For what it's worth, I'd advise against using sys_ids hard coded in script like this. Find a 'maintainable' alternative. In 12 months you (or someone doing your job) won't have a clue what that sys_id is for. Try using a display value, or a property to get that sys_id, or a display value in a property to get the sys_id. It's a couple lines more of code, but it makes maintenance a LOT easier in the future.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2019 05:55 AM