- Go to the registry on left navigation bar
- Create new event: x_email_trigger
- Add below eventQueue code in server script:
gs.eventQueue('x_email_trigger',current,current.number,gs.getUserName());
x_email_trigger: event name
current- Glide Object
current.number- parm1
gs.getUserName()- parm2
How to send notification from server script using gs.eventQueue ServiceNow
admin Changed status to publish December 26, 2023