trigger event through virtual agent topic

prajapatias
Tera Contributor

I have a requirement that user can trigger a notification event through virtual agent, to trigger event through virtual agent i have use this line of code

gs.eventQueue('va.sendemail',new GlideRecord('incident'),vaInputs.enter_username,vaInputs.display_incidents);
but its not working.
is this the correct way to trigger event through virtual agent.
0 REPLIES 0