How can I include the original email body in a notification

phil34
Tera Expert

Hi All,

My Inbound email action creates an incident and the first entry on the incident is a Journal entry called "email received"

I have an outbound notification that is triggered by the insert of the incident and the notification goes to the assigned Group and I would like to include the content of email received in that outbound notification. Posted below.

I have looked through the available fields to the right of the form but I can find one that includes the original email body. 

Can anyone advise how I might do that please?

find_real_file.png

find_real_file.png

6 REPLIES 6

@GauriSharma 

What @Dan H suggested does exactly that.


If I helped you with your case, please click the Thumb Icon and mark as Correct.


 var gr = new GlideRecord('sys_email');
        gr.addQuery('instance', current.sys_id);
            gr.query();
            if (gr.next()) {
                template.print(current.body);
            }
 
output is coming as "undefined"