- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2023 09:35 PM
Hello All,
I want to Trigger an Event from Virtual Agent using 'gs.eventqueue('Event Name','Glide Record')'. But I cant able to Trigger the Event using above method. Can anyone help me how to trigger Event from Virtual Agent.
Thanks & Regards,
S.Swaroop.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2023 10:03 PM
the event is on which table?
are you having glide record object of that in the VA script
You can use Script Utility and then add that server side script in it
can you share your complete script and topic
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2023 10:03 PM
the event is on which table?
are you having glide record object of that in the VA script
You can use Script Utility and then add that server side script in it
can you share your complete script and topic
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2023 10:09 PM
Hello Ankur,
Thanks for quick reply.
I used below script in Script Utility.
vaVars.sys_id = vaInputs.get_record_2.getValue();
gs.eventqueue('email_notification_update',vaVars.sys_id);
Thanks & Regards,
S.Swaroop.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2023 10:23 PM
the 2nd parameter is glide record object and not sysId so hence it's not working
can you share complete script and also screenshot
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2023 10:28 PM
Hello Ankur,
Below is the complete script I am using in Script Utility.
gs.eventqueue('email_notification_update',vaVars.sys_id);
I cant take screen shot as that is there in client space.
Can you please suggest me how to get glide record object and use in the gs.evntqueue in Virtual Agent.
Thanks & Regards,
S.Swaroop.