- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2023 02:10 PM
Hello Community,
I have an interesting situation that I have been attempting to figure out. We have a standard email that goes out on certain incidents, it always includes the same information (for example, created_by, short_description, description, and work_notes (journal entries).
This email is always directed to a specific email address, let's say test@test.com and always includes the subject - Rerouting to Team - current.short_descrpition and body current.description + current.work_notes.
I have tried using UI Actions to send an email with a function similar to below, but am not getting very far sending an email using current variables as a template.
var email = new Email();
email.to = 'test@test.coml';
email.subject = 'Ticket Escalation';
email.body = 'This is a test';
email.send();
Has anyone done something like this before? I am fine with any method, as long as I can pull current variables in the Incident we are working on. Keep in mind, right now, our process is to click the "Compose Email" button and then change the to field, subject, and body and add work notes manually.
Want to get away from the manual process.
Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2023 02:37 PM - edited 11-16-2023 02:51 PM
Hi @Richard22 ,
Are you not using email client based email, where you can set all parameters. It's OOTB, you just need to enable on table level.
Once it's enable then you can access , default it will open with pre-populated subject line with incident number & Short description. You can customize this via email client template.
Hope we are on same page of your requirement, as UI Action based email need to trigger from some record ( like incident ) and Email Client is already there. Let me know if it works or you have some other thought.
-Thanks,
AshishKMishra
Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2023 05:16 PM
Thanks for marking accepted solution, happy to help.
This Email Client has Email Client Template option also, so you can design /configure multiple pre-filled template from source table.
Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution