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
Srujana ReddySrujana Reddy 

Create a formula field that determines the number of days between today and the last activity date for a case's account

Hi All,
i have used (Today()- Account.LastActivityDate) formula but got below error please..help me out
Challenge not yet complete... here's what's wrong: 
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: [Date_Time_Closed__c]: [Date_Time_Closed__c]
Chandra Sekhar CH N VChandra Sekhar CH N V
Today()- Account.LastActivityDate , guess nothing to do with the formula you have written, are there any mandatory fields/validation rules  on case object?
Srujana ReddySrujana Reddy
hi,
Chandra Sekhar CH N V
Date/Time closed,Status,Case Origin these are only the mandatory fields and there is no other Validation rules on Case object and it is a challenge from Trailhead