web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

Last Activity Date not updating with related entity activity date

(0) ShareShare
ReportReport
Posted on by 220

Hello,

I have created a roll up field on the Account entity called Last Activity Date to capture the last date a meeting, phone call or email was logged either directly on the Account record or on any of the related entities which feed up to the Account i.e. Leads, Contacts or Opportunities. See the screenshot below, unfortunately what I am trying to achieve does not work as it only captures the last activity date for the actual account so for example if a related Lead has a meeting logged at a date later than the last activity logged for the related Account, the Leads last activity date does not update on the Account record, only the last activity date of the Account shows. Any guidance you can give will be appreciated.

pastedimage1582821978438v1.png

Thank you

Ladga

I have the same question (0)
  • Suggested answer
    LuHao Profile Picture
    40,890 on at
    RE: Last Activity Date not updating with related entity activity date

    Hi Ladga,

    You only need to select Sort newer to older in Account's Timeline to see the latest related activity. This also includes activities of related entities such as Leads, Contacts or Opportunities.

    pastedimage1582882259205v7.png

    --------------------------------------

    If you need a field to show the latest date, I would recommend you use several workflows instead of a rollup field.

    Please refer to this article for an introduction to workflow: https://crmbook.powerobjects.com/system-administration/processes/workflows/

    1) Take Email as an example, here are the detailed steps.

    Create a custom Date field for each of the related entities such as Leads, Contacts or Opportunities to indicate the latest activity date of this entity.

    pastedimage1582881656999v1.png

    Choose the right Scope. select Start when: Record is created

    pastedimage1582881754635v2.png

    Add a step: Check Condition. Set the conditions as Regarding (Lead), Lead, and Contains Data.

    pastedimage1582881809183v4.png    pastedimage1582881917510v6.png

    Then add a setp: Update Record - Regarding(Lead). Update the custom Date field to the date of the Email.

    pastedimage1582883413746v9.png    pastedimage1582883397531v8.png

    Add a step: Check ConditionSet the conditions as Regarding (Opportunity), Opportunity, and Contains Data.

    pastedimage1582883599212v11.png    pastedimage1582883570734v10.png

    Then add a setp: Update Record - Regarding(Opportunity). Update the custom Date field to the date of the Email.

    pastedimage1582883697758v12.png

    Add a step: Check Condition. Set the conditions as Regarding (Contact), Contact, and Contains Data.

    Then add a setp: Update Record - Regarding(Contact). Update the custom Date field to the date of the Email.

    Set up all account-related entities like this.

    Activate this workflow.

    2) Create a second workflow, take Lead as an example.

    Workflow is triggered when Lead's custom date field is changed. Add a step to update record, update the date field of the related Account to the custom date field of Lead.

    pastedimage1582884157552v14.png    pastedimage1582884142619v13.png

    pastedimage1582884201822v15.png    pastedimage1582884353440v16.png

    Activate this workflow.

    Through these two workflows, we can display the latest activity date of the relevant Lead on the Account form.

    You also need to create similar workflows for other active entities and entities such as Leads, Contacts or Opportunities.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 125

#2
Tom_Gioielli Profile Picture

Tom_Gioielli 121 Super User 2025 Season 2

#3
Erin Lubben Profile Picture

Erin Lubben 73

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans