Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Emails which are sent are not added to Activity log for Interaction Table

soumyadaggula
Tera Contributor

Hello Team, 
Am sending emails through UI action on Interaction Table, and I want the email which is sent to the user should be added in Activity log. 
I have added 'Emails-autogenerated' and 'Emails-correspondence' to filter activity, but still I do not see emails which are sent are getting added unlike for Incident table.

Kindly 
help.

9 REPLIES 9

@Maik Skoddow 
Is there any code that I need to add Maik ?

Hi @soumyadaggula 

usage of GlideEmailOutbound API is not recommended, and I also found no way to set a link to target record via that approach.

Instead go the common approach via event-triggered notifications.

Maik

Hi @Maik Skoddow 
am using a script include to generate a code, and calling that script include in UI action and sending the email to the user with that code. 
How can I achieve this through event-triggered notifications? 

Hi @soumyadaggula ,

sorry, but this is one of the most described features in ServiceNow. There are tons of articles, videos and documentation.

Just one example: https://www.youtube.com/watch?v=YSZFiumGXj4

Maik

soumyadaggula
Tera Contributor

thank you Maik !