How do we add a specific attachment to a notification via event queue?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-18-2022 03:07 AM
I have a requirement to generate an Email Notification via an event queue. in my case the incident contains two attachments but I need to pass only one attachment to the gs.eventqueue method. Can someone tell me if there is a way to achieve this? the following code is inserting all the attachments in the incident but I want only one attachment. any help would be appreciated!
gs.eventqueue('event record', incObj, RECIPIENTS.toString());
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-01-2023 03:02 AM
Hi @Ankur Bawiskar ,
I tried above solution but didnt work. Do we have any other alternative way to achieve this?
Thank you!
Attaching my piece of code which I tried.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-01-2023 05:47 AM
I had tried earlier and it worked for me
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader