function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
VJ JVJ J 

Error executing a formula

Your support team has asked for improved visibility on account activity level at the time they’re helping with customer issues. Specifically, when they’re looking at a case, they’d like to see an at-a-glance view of the number of days since the case’s related account was last active. Create the formula using these requirements.
The formula should be on the Case object.
The formula should be of return type Number.
The formula should be named 'Days Since Last Update' and have a resulting API Name of 'Days_Since_Last_Update__c'.
The formula should return the number of days between the account’s Last Activity Date and today.

FORMULA I USED :

TODAY() - Account.Last Activity Date.
i created the object named 'Days Since Last Update' on Case.

THE ERROR IS : 

There was an unexpected error in your org which is preventing this assessment check from completing: System.DmlException: Insert failed. First exception on row 0; first error: REQUIRED_FIELD_MISSING, Required fields are missing: [Last_Activity_Date__c]: [Last_Activity_Date__c].

Anyone do help me, please.
shravanshravan
Do you have a trigger on case object. Is it inserts any records on case creation/update.