- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2022 02:40 AM
Hi,
I want to change the subject from the default subject of Email Client Template when I select a Quick Message.
Please can you provide me the solution for this.
Please note that I cannot make changes to the default Email Client subject and a new subject should show whenever I select my Quick message from the Email Client.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2022 02:18 AM
Hi,
I was able to change subject through before insert and update BR in the sys_email table while sending(condition is type is send-ready).
(function executeRule(current, previous /*null when async*/) {
if(current.body.indexOf("Support Group") > -1){
current.subject =" Contant Message Failure";
current.recipients = "Support@m.com";
}
})(current, previous);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2022 06:14 AM
Hi,
It is not possible to override/change the subject with Quick message for Email client templates.
You can use quick messages to populate the Email signature, any note etc. basically change or update body contents not a subject.
You can send a manual email through Send email option in form header.
Thanks,
Sagar Pagar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2022 02:18 AM
Hi,
I was able to change subject through before insert and update BR in the sys_email table while sending(condition is type is send-ready).
(function executeRule(current, previous /*null when async*/) {
if(current.body.indexOf("Support Group") > -1){
current.subject =" Contant Message Failure";
current.recipients = "Support@m.com";
}
})(current, previous);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2022 02:21 AM
but this would change the subject even when you trigger the email via notification or gs.eventQueue() and not only from email client template
How would you determine the difference?
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader