How to retrieve email received/creation date from email inbound actions?

Iyyappan
Tera Expert

Hi,

I am trying to retrieve email creation/received date for one of our integration using inbound actions. I tried using existing email objects but no luck.

email.headers have date information but easily accessible and the formation and timezone is different, so it hard to go for it.

Any suggestions would be helpful.

Thanks

Iyyappan Mani

1 ACCEPTED SOLUTION

Yes, I took the email created time as workaround. Thanks for your response.

View solution in original post

8 REPLIES 8

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Mani,

Can you explain your scenario here why email received date is required?

Regards

Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

We are receiving mail from an application about user activities(login/logout time), so to track that information in SNC table we need email received timestamp to save it in date field in target table.

 

Note: Email body does not have any date/time info.

Hi Mani,

Can you have after insert business rule on email table and get the created time, I believe that would be the time when it was received in servicenow instance.

Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Yes, I took the email created time as workaround. Thanks for your response.