- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2025 06:11 AM - edited 05-30-2025 06:13 AM
Hi All,
I am trying to configure the 'Email Client Template', in which, under 'Sender Configuration' tab, by setting From Generation Type, as script & Here in Email, I am trying to set the 'From' field , a value of a current record field(u_email_id). Is there any way to do that instead of getting value from Table 'Email Client From Address' (sys_email_client_from_address_list.do).
Here, in the below image, it calls below function,
(function (fromAddressQuery, targetRecord) {
})(fromAddressQuery, targetRecord);
Please assist to achieve this without calling Email Client From Address
If this response resolved your issue, kindly mark it as Helpful or Accept Solution—it helps others find the answer faster.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2025 09:17 AM - edited 05-30-2025 09:22 AM
Thank you so much for your support
I actually found a way to populate it by using below:
From Generation Type : Text
This worked in my scenario.
If this response resolved your issue, kindly mark it as Helpful or Accept Solution—it helps others find the answer faster.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2025 07:12 AM
Hi Ankur,
Many thanks for your efforts.
I tried this method, but it is picking any random email address from 'Email Client From Address' table and setting it in From field
If this response resolved your issue, kindly mark it as Helpful or Accept Solution—it helps others find the answer faster.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2025 07:30 AM
did you add gs.info() and see what value it prints?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2025 09:17 AM - edited 05-30-2025 09:22 AM
Thank you so much for your support
I actually found a way to populate it by using below:
From Generation Type : Text
This worked in my scenario.
If this response resolved your issue, kindly mark it as Helpful or Accept Solution—it helps others find the answer faster.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2025 08:29 PM
Please mark your own response as correct and close the thread.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader