
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-08-2023 06:27 AM
Hello
I activated the option to have "Reply" , "Reply All", "Forward" button when email are received in a case.
However, I would need to modify the automatic "reply to" address that is assigned in the email popup.
Do you know if this is something I can achieve ?
Idea would be that email to be the service center email from the current service contract of the case
Thanks
Jérôme
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-09-2023 05:31 AM
Hello,
I managed to do it with some scripting in the templates.
Set the 'From Generation Type" to Text and do this : javascript: ClientTemplateContext.getCurrent().u_service_contract.u_service_mail
That worked 🙂

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-08-2023 06:49 AM
Hello @Jerome MAISETTI
The email popup loads the UI page - email_client
This is embedded in the platform codes, and is not exposed to customers or admins.
Therefore you cannot change the mail id's set on the To field.
It will automatically pick the callers email id, and the email id of the current logged in user.
You will be only able to edit it manually.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-09-2023 05:31 AM
Hello,
I managed to do it with some scripting in the templates.
Set the 'From Generation Type" to Text and do this : javascript: ClientTemplateContext.getCurrent().u_service_contract.u_service_mail
That worked 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-13-2024 11:04 PM
Hello,
can you explain in detail how you have achieved this?
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-03-2024 11:21 PM
Found a way to solve this. I created a Before BR in sys_email on Insert. This is checking for the related target records assignmentgroup and if mapped to that I'm setting the wanted send/reply-to adress in the email before if moves out of servicenow.
--- cut ---
--- cut ---