gs.eventQueue() with no table

xiaix
Tera Guru

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":

find_real_file.png

 

Here is my "What will it contain":

find_real_file.png

 

And here is my event registry record:

find_real_file.png

 

And yes, this is checked:

find_real_file.png

 

They sys_id I'm passing (194dd9a7db176b4050fbff9aae9619ea) is a group sys_id.

1 ACCEPTED SOLUTION

Chuck Tomasi
Tera Patron

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.

View solution in original post

6 REPLIES 6

Using the Studio code search to validate My Tomasi and Mr Dubuis,.... 

...we can see that the OOB 'MultiSSO_ClientHelperUI' script include uses the null value.

Line 34:         gs.eventQueue("saml.test_connection", null, "request");

Dubz
Mega Sage

I've used NULL in the past to fill that parameter

gs.eventQueue('event.name', null, parm1, parm2);