We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Event is Triggered but the Notification does not being sent

Snow Tomcal
Tera Expert

Hi All,

I have a notification that supposed to be triggered when an event is being fired.

The event is being fired but the notification not.

Does anyone know why?

 

Thanks

1 ACCEPTED SOLUTION

@Snow Tomcal please change the event queue line to below 

you need to send glide record object like below 

gs.eventQueue('your_event_name',changes,'sys_id'); 

 

Also please send the sys_id of the recipient in the place of sys_id in parm1

 

Hope this helps 

Mark the answer correct if this helps you 

Thanks

View solution in original post

10 REPLIES 10

Mohith Devatte
Tera Sage

Hello @Snow Tomcal ,

please check if your event in event registry and the notification are configured on same table.

Also check if the recipient has Notification enabled in his/her user profile

Hope this helps 

Mark the answer correct if this helps you 

Thanks

The event and the notification do have the same table (change_request).

I'm using the 'Event parm 1 contains recipient' that contains a user sys id.

@Snow Tomcal can you please send the entire script that you wrote for  triggering an event ?

It's a problem. It's an on-prem environmnet.

I check the 'sysevent' table and it is being fired with the right param.