Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Date of Last Email field

(0) ShareShare
ReportReport
Posted on by 302

Hi,

We desperately need a 'Date of Last Email' field on the Company.

Initially I tried to use a rollup field over 'Email Messages (Regarding)'. This only works for emails that have the company in the 'Regarding' field on the email.

There are many emails that are visible on the Activities Social Pane which are not set as regarding this company.  They have been tracked to a person who works for this company.  There seems to be no way to capture these emails in a "Date of Last Email" type of field.

Is there any way to capture this?

*This post is locked for comments

  • Suggested answer
    ashlega Profile Picture
    ashlega 34,477 on at
    RE: Date of Last Email field

    Hi,

     all those email fields (to, from, cc, bcc) are party lists, so I'm not sure you'll be able to do anything with them in the conditions etc.

     If you want to update "last email field" on the account entity any time that account shows up in one of those fields, I think you may need a custom workflow activity/plugin.

  • Suggested answer
    RE: Date of Last Email field

    Hi,

    you can create a workflow/plugin which

    1) check if the "To" filed value is a contact, account or something else

    if Account: update the account field 'Date of Last Email'  to today

    if Contact: retrieve the parent Account then update the account field 'Date of Last Email'  to today

    else do nothing

    Hope this helps

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,407 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans