- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-01-2018 11:29 AM
Is it possible to make two different UI actions which put different values in the TO field on the Case email client?
I know that there is one email client template per table, but I have attempted to work around this by creating a UI action which sets a field and then opens the email client, where the template is reading that field. However I'm having trouble combining the server-side code with client side and then opening the email client on top of that.
Thanks for your help.
Solved! Go to Solution.
- Labels:
-
Customer Service Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-13-2018 06:22 PM
Use the solution provided in below thread
Please mark this response as correct or helpful if it assisted you with your question.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-13-2018 06:22 PM
Use the solution provided in below thread
Please mark this response as correct or helpful if it assisted you with your question.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-01-2018 12:17 PM
While not as flexible as a notification, you can hard code an email via script that can be called by a UI action. Below is an example:
var emailNotification = new GlideRecord('sys_email');
emailNotification.type = 'send-ready';
emailNotification.subject = 'Email subject';
emailNotification.body = 'Email body';
emailNotification.recipients = email-adress1 + ',' + email-address2;
emailNotification.insert();
Regards,
Sachin