Email is not being triggered with gs.eventqueue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2023 03:29 AM
Hi All,
am trying to trigger an email using gs.event queue with the below script but its not sending any emails.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2023 03:40 AM
Hi @siddharth26
To trigger the event you should use gs.eventQueue('Event Name','GlideRecord Object','Parm1',Parm2);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2023 03:57 AM
Hi Satyapriya,
yes i have used gs.eventQueue('email.match',adAccountGr);
were email.match is the event and adAdccountGr i have used as parm1.
thanks
sid
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2023 03:50 AM
Please share below details
1) event, notification is on which table sys_user or u_ad_user_account
2) what debugging have you done so far?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2023 03:56 AM
Hi Ankur,
1.event created email.mismatch
2.notification created on u_ad_user_account.
i have run this in background script , used gs.info in my script to check if its giving the out put, my code is generating out put but, gs.event queue is not triggering the email to sender or a group. i have created one email script and used in the notification but still not sending emails
regards
sid