- 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 06:26 AM
did you try accessing current object in that script?
If my response helped please mark it correct and close the thread so that it benefits future readers.
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 06:33 AM
Hi Ankur, Thank you for your response.
I did try with current object, but no luck on same.
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 06:52 AM
the targetRecord is the object which holds the current, so try that once
If my response helped please mark it correct and close the thread so that it benefits future readers.
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 06:49 AM
try this in the script field
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
⨠Certified Technical Architect || ⨠9x ServiceNow MVP || ⨠ServiceNow Community Leader