How can we check if an approval request email has been resent?

gnunez
Kilo Guru

Hello all,

I know we are able to check System Mailbox to see which emails have been sent, received, etc., but I want to see if there is a log that keeps track of resent emails.

We have a user who couldn't find an approval request email so I resent it through Emails -> System Logs -> Clicked Resend button, but not sure where I can check if the email was actually sent because the previous email is showing in the Email Log. (e.g. Original email was sent 8/28/17 and I resend the email on 9/14/17)

Any assistance this would be great!

Thanks,

Grace

**We are on Istanbul Patch 6

1 ACCEPTED SOLUTION

Raju Koyagura
Tera Guru

That you can check in System Policy -> Event Log.



To find the exact log which is created from you, just add highleted code in   "Reprocess Email" UI action something like below and take the sys_id and search it in event logs



var evt = new GlideRecord('sysevent');


evt.initialize();


evt.process_on = gs.nowDateTime();


evt.name = "email.read";


evt.parm1 = current.sys_id;


var evtId=evt.insert();


gs.addInfoMessage('event created to reprocess email "' + Packages.org.apache.commons.lang.StringEscapeUtils.escapeXml(current.subject) + '"'+"evtId: "+evtId);



find_real_file.png


View solution in original post

7 REPLIES 7

Jaspal Singh
Mega Patron
Mega Patron

Hi Grace,



One such way I guess would be to check & compare the created or updated date/time . Ideally, its same when mail is sent a delay in some seconds for time is expected to be a difference between created & updated but if different then I guess it would have been resent.


Raju Koyagura
Tera Guru

That you can check in System Policy -> Event Log.



To find the exact log which is created from you, just add highleted code in   "Reprocess Email" UI action something like below and take the sys_id and search it in event logs



var evt = new GlideRecord('sysevent');


evt.initialize();


evt.process_on = gs.nowDateTime();


evt.name = "email.read";


evt.parm1 = current.sys_id;


var evtId=evt.insert();


gs.addInfoMessage('event created to reprocess email "' + Packages.org.apache.commons.lang.StringEscapeUtils.escapeXml(current.subject) + '"'+"evtId: "+evtId);



find_real_file.png


Thank you Raju I was able to find the record!