Email notification : show the name of sender/created by

zica
Giga Guru

Hello EveryOne,

I wanted to show the name of user in "Activity" when he have sent the email from the mail icon in the header.emailHeader.PNG

Basically, today, when someone sent the email, we are not able to know dit it. I've tried to personalize by adding 'Created by' field, but it did not work.

activity.PNG

I tried the script from this link, but it does not work ; http://www.servicenowelite.com/blog/2014/3/6/log-attachment-changes-in-activities

Is it possible to have this section ? If you have advice, i am more than interested and any assistance appreciated.

Kind regards,

ZA

1 ACCEPTED SOLUTION

I solved it,



I put 'sys_created_by' into subject filed and it appears in the first row as wanted.


Thank you very much for all your help


EmailResolved.png



Thank you again


Kind Regards,


ZA


View solution in original post

5 REPLIES 5

tonyshabani
Kilo Expert

Navigate to System Policy > Client Templates. Find the email template for the table you are sending it from. Insert the following in the from field to display to users who the email is from:



Capture.PNG



This will show in the activity who the email is from as well as in the users inbox when they receive the email.


zica
Giga Guru

Hi Mr Tony,


Thank you for your reply, I tested the script below with incident table but It did not collect the name.


Please the screeshots below :


incident.PNG



EmailTemplate.PNG


Perhaps, I missed something here.



Kind regards


ZA


I can see the 'from' address being a user .. Isn't this what you are looking for ?


zica
Giga Guru

Hello,



Not really because it changes the adress email put   into "From". We want to keep it, but we want the user's name in the first row (just below 'activity' (see first picture)) like {2015-08-03 13:16:25   REQ0010913 - USERNAME - Email sent }



Kind regards


ZA