send mass emails automated
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2023 01:40 PM
Hello all,
I created a new application and we would like to communicate to the end users via emails (mass emails required!!)
Requirement is to send bulk emails from List view of records after filtering the records to the ones we want the email to be sent to. The email client UI Page should appear when selecting the List UI Action.
Here is my exact requirement:
-> agent will go to list view and then filter few records. (Please not that there is a field that stores email address of the user on this record's form)
-> agent selects all these records and at the bottom, there should be a List UI action named "send email to selected"
-> when this is clicked, all the email addresses in selected records should go to "To" field in email , and agent should be able to send this email to all these users at once by clicking send.
How to do this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2023 02:21 PM
Hi, your post isn't to clear regarding actual process\requirement, but it sounds like you are intending to send 1 email message to multiple users, which might result in privacy issues if all individual email addresses are visible in the TO field?
Normal practice would be to trigger individual sysevents, that would then trigger individual emails via Send when 'Event is fired'
Depending on volumes, 'mass' emails may also result in performance issues delays in other email related functionality like PW resets MFA codes etc.
I think this post covers your requirement
Solved: how to trigger an event from a UI Action button - ServiceNow Community
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2023 12:16 AM
Hi @Tony Chatfield1 ,
The requirement is that, we have a custom table extending task and we make use of consumer table to store end user emails. and in our custom table we have this reference field "email" that references to the consumer table.
This is similar to case table and we have the email client set up and when user clicks on "new email" button, user will be able to send a new email to end user from the ticket itself and this email will have target as our current ticket record and this is how to and fro email communication occur within the ticket itself
Now, our clients new ask is that they will need to send same email to multiple users at once but the necessity here is that they will need to send it from the list view of the records. Everytime, their subject and matter might change, so this is manually added everytime (just like we use email client). All we need is something like email client enabled on list view and instead of manually adding all the emails from each ticket of the list view, the emails from "email" field of these tickets should be added in the "to" field of the email client type set up. This way they can send whatever they want as a subject and body to the selected users from the list view.
I am thinking of something like having a list UI action and when required tickets are filtered and this button is clicked, the dialog box/model box/ui page which has details like "to", "reply to", "From", subject, body etc fields by which our clients can send desired emails. I am very new to scripting which is why I am finding it hard. Could you please help me here?
many thanks in advance!