please explain this: --> gs.eventQueue('contact.inserted',current,current.u_email_address);

Mohd Shahnawaz
Tera Contributor

please explain gs.eventQueue

1 ACCEPTED SOLUTION

padmesh
Tera Expert

hi Mohd Shahnawaz,

Server-side script using the gs.eventQueue() method.

Please find below link may be it will helpful to  you.

https://developer.servicenow.com/app.do#!/lp/servicenow_administrator/app_store_learnv2_automatingap...

View solution in original post

5 REPLIES 5

harmangill02
Mega Expert

Hey Mohd,



gs.eventQueue queues an event for the event manager.



Parameter definitions are listed below:


  • Name of the event being queued.
  • A GlideRecord object, such as "current".
  • An optional parameter, saved with the instance if specified.
  • A second optional parameter, saved with the instance if specified.
  • An event queue to add the event to.


http://wiki.servicenow.com/index.php?title=GlideSystem#eventQueue.28String.2C_Object.2C_String.2C_St...


What is event queue?

padmesh
Tera Expert

hi Mohd Shahnawaz,

Server-side script using the gs.eventQueue() method.

Please find below link may be it will helpful to  you.

https://developer.servicenow.com/app.do#!/lp/servicenow_administrator/app_store_learnv2_automatingap...

padmesh
Tera Expert

hi Mohd Shahnawaz,

Server-side script using the gs.eventQueue() method.

Please find below link may be it will helpful to  you.

https://developer.servicenow.com/app.do#!/lp/servicenow_administrator/app_store_learnv2_automatingap...